ReDBox Portal API
The ReDBox Portal API provides authorized access to manage functions related to records, user management, roles, search functionalities, and more. This document outlines the available endpoints, request/response formats, and other relevant technical details.
Overview
Authorization
The ReDBox Portal API secures access through the use of bearer tokens. A bearer token must be obtained from the ReDBox admin user interface and included in the Authorization
header as a Bearer token for all API requests.
Obtaining Bearer Tokens
To obtain a bearer token, follow the instructions on the ReDBox Portal Wiki
Using Bearer Tokens
Once you have obtained a bearer token, include it in the Authorization
header as a Bearer token with each API request:
Authorization: Bearer YOUR_BEARER_TOKEN_HERE
Please ensure that your bearer tokens are stored securely and are not exposed to unauthorized entities. If a token is compromised, generate a new token from the admin user interface immediately to replace it.
Error Handling
The API uses standard HTTP status codes to indicate the success or failure of an API request. In general:
-
2xx
codes indicate success. -
4xx
codes indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). -
5xx
codes indicate an error with ReDBox’s servers.
Record ¶
Record Actions ¶
List records in the systemGET/default/rdmp/api/records/list{?packageType,recordType,sort,start,rows}
Example URI
- recordType
string
(required) Example: rdmpThe record type name
- packageType
string
(optional) Example: rdmpThe type of ReDBox package to return
- sort
object
(optional) Default: date_object_modified:-1 Example: date_object_modified:-1Sort results by this parameter. Parameter should be of the pattern
<property name>:<sort direction>
where sort direction is 1 for ascending order and -1 for descending order- start
number
(optional) Default: 0 Example: 0The index number for the first value to return from the result set.
- rows
number
(optional) Default: 10 Example: 10The number of records to return in the request
Get Records
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"summary": {
"numFound": "1",
"page": "1",
"start": "0"
},
"records": [
{
"oid": "7e72b5952e8e323c77f72ae268a27c46",
"title": "A sample record title",
"dateCreated": "2020",
"dateModified": "2020",
"metadata": {}
}
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"numFound": {
"type": "string"
},
"page": {
"type": "string"
},
"start": {
"type": "string"
}
},
"required": [
"numFound",
"page",
"start"
]
},
"records": {
"type": "array"
}
},
"required": [
"summary",
"records"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": "You have reached the maximum of request available; Max rows per request 10",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "An error has occurred",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Create RecordPOST/default/rdmp/api/records/metadata/{recordType}
Example URI
- recordType
string
(required) Example: rdmpThe record type name
Create Record setting metadata, authorization and workflowStage
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"metadata": {
"title": "A sample title",
"description": "A description"
},
"workflowStage": "draft",
"authorization": {
"edit": [
"username"
],
"view": [
"username"
],
"editRoles": [
"Admin"
],
"viewRoles": [
"Admin"
]
}
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"workflowStage": {
"type": "string"
},
"authorization": {
"type": "object",
"properties": {
"edit": {
"type": "array"
},
"view": {
"type": "array"
},
"editRoles": {
"type": "array"
},
"viewRoles": {
"type": "array"
}
}
}
},
"required": [
"metadata",
"authorization"
],
"additionalProperties": false
}
Create Record only setting metadata
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"metadata": {
"title": "A sample title",
"description": "A description"
}
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"required": [
"metadata"
],
"additionalProperties": false
}
Create Record setting metadata and workflowStage
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"metadata": {},
"workflowStage": "draft"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {}
},
"workflowStage": {
"type": "string"
}
},
"required": [
"metadata"
],
"additionalProperties": false
}
201
Headers
Content-Type: application/json
Location: /default/rdmp/api/records/metadata/7e72b5952e8e323c77f72ae268a27c46
Body
{
"message": "Record created successfully",
"description": "",
"oid": "7e72b5952e8e323c77f72ae268a27c46"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message describing action"
},
"description": {
"type": "string",
"description": "A description of the error"
},
"oid": {
"type": "string"
}
},
"required": [
"message",
"description",
"oid"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": "Record Type provided is not valid",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "Create failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Transition record through workflowPOST/default/rdmp/api/records/workflow/step/{workflowStage}/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
- workflowStage
string
(required) Example: queuedThe workflow stage to transition the record to.
Transition record to queued workflow stage
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"success": true
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"message",
"success"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": [
"Failed to transition workflow",
"please check server logs."
],
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "array",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Record Metadata Actions ¶
Update Record MetadataPUT/default/rdmp/api/records/metadata/{oid}{?merge}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
- merge
boolean
(optional) Default: false Example: trueWhen set to true, the post body is recursively merged with the existing metadata record.
Update record metadata
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"title": "A sample title",
"description": "A sample description"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"title",
"description"
],
"additionalProperties": false
}
200
Headers
Content-Type: application/json
Body
{
"message": "Record updated successfully",
"description": "",
"oid": "7e72b5952e8e323c77f72ae268a27c46"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message describing action"
},
"description": {
"type": "string",
"description": "A description of the error"
},
"oid": {
"type": "string"
}
},
"required": [
"message",
"description",
"oid"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": [
"Update metadata failed",
"failed to retrieve existing record."
],
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "array",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "Update Metadata failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Delete a RecordDELETE/default/rdmp/api/records/metadata/{oid}{?permanent}
Example URI
- oid
string
(required)The identifier of the Record in the form of a string.
- permanent
boolean
(optional) Default: falseA flag to permanently delete the record.
Headers
Content-Type: application/json
Authorization: Bearer <token>
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The success message. Defaults to 'Request processed successfully'."
},
"details": {
"type": "string",
"description": "Additional details about the action. Defaults to an empty string."
}
}
}
400
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
500
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
Update record metadata
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"message": "Record deleted successfully",
"description": "",
"oid": "7e72b5952e8e323c77f72ae268a27c46"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message describing action"
},
"description": {
"type": "string",
"description": "A description of the error"
},
"oid": {
"type": "string"
}
},
"required": [
"message",
"description",
"oid"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": [
"Delete metadata failed",
"failed to retrieve existing record."
],
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "array",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "Delete Metadata failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Get Record MetadataGET/default/rdmp/api/records/metadata/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"title": "A sample title",
"description": "A description"
}
500
Headers
Content-Type: application/json
Body
{
"message": [
"Get Metadata failed",
"failed to retrieve existing record."
],
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "array",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Deleted Record Actions ¶
List Deleted RecordsGET/api/deletedrecords{?recordType,state,start,rows,packageType,sort,filterFields,filter}
Example URI
- recordType
string
(optional)The type of the record.
- state
string
(optional)The workflow state of the record.
- start
number
(optional)The starting index for the records to be returned.
- rows
number
(optional)The number of records to be returned.
- packageType
string
(optional)The package type of the record.
- sort
string
(optional)The sorting order for the records.
- filterFields
string
(optional)The a comma seperated list of the fields to be used for filtering.
- filter
string
(optional)The filter string to be applied.
Headers
Content-Type: application/json
Authorization: Bearer <token>
200
Headers
Content-Type: application/json
Body
{
"summary": {
"numFound": 1,
"page": 1,
"start": 1
},
"records": []
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"numFound": {
"type": "number",
"description": "The total number of records found."
},
"page": {
"type": "number",
"description": "The current page number."
},
"start": {
"type": "number",
"description": "The starting index of the records in the current page."
}
},
"required": [
"numFound",
"page",
"start"
],
"description": "An object containing summary information about the list."
},
"records": {
"description": "An array of records. The type of the records is defined by the specific use case."
}
},
"required": [
"summary",
"records"
]
}
400
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
500
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
Restore a Deleted RecordPUT/api/deletedrecords/{oid}
Example URI
- oid
string
(required)The identifier of the Deleted Record in the form of a string.
Headers
Content-Type: application/json
Authorization: Bearer <token>
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The success message. Defaults to 'Request processed successfully'."
},
"details": {
"type": "string",
"description": "Additional details about the action. Defaults to an empty string."
}
}
}
400
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
500
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
Permanently Delete a Deleted RecordDELETE/api/deletedrecords/{oid}
Example URI
- oid
string
(required)The identifier of the Deleted Record in the form of a string.
Headers
Content-Type: application/json
Authorization: Bearer <token>
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The success message. Defaults to 'Request processed successfully'."
},
"details": {
"type": "string",
"description": "Additional details about the action. Defaults to an empty string."
}
}
}
400
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
500
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
Record Audit Actions ¶
Get Record Audit InformationGET/default/rdmp/api/records/audit/{oid}{?dateFrom,dateTo}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
- dateFrom
string
(required) Example: 2023-02-14T00:44:26ZShow modifications to the record from this date. ISO8601 format
- dateTo
string
(required) Example: 2023-02-28T00:44:26ZShow modifications to the record from this date. ISO8601 format
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Datastream Actions ¶
Add attachment to recordPOST/default/rdmp/api/records/datastreams/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Headers
Content-Type: multipart/form-data; boundary={boundary value}
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
--{boundary value}
Content-Disposition: form-data; name="attachmentFields"; filename="researchdata.zip"
Content-Type: application/zip
Content-Transfer-Encoding: base64
{file content}
--{boundary value}
200
Headers
Content-Type: application/json
Body
{
"message": "Attachment added successfully",
"success": true
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"message",
"success"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": [
"Get Metadata failed",
"failed to retrieve existing record."
],
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "array",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Get attachment in recordGET/default/rdmp/api/records/datastreams/{oid}/{datastreamId}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
- datastreamId
string
(required) Example: 9159dc90fa9511edbc38b7f112a6db3dThe datastream identifier
Get Attachment
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
500
Headers
Content-Type: application/json
Body
{
"message": "Failed to get attachment.",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
List attachments in recordGET/default/rdmp/api/records/datastreams/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Get Records
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"summary": {
"numFound": "1",
"page": "1",
"start": "0"
},
"records": [
{
"filename": "researchdata.zip"
}
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"numFound": {
"type": "string"
},
"page": {
"type": "string"
},
"start": {
"type": "string"
}
},
"required": [
"numFound",
"page",
"start"
]
},
"records": {
"type": "array"
}
},
"required": [
"summary",
"records"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": "Missing ID of record.",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": [
"Failed to list attachments",
"please check server logs."
],
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "array",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Record Permission Actions ¶
Give users edit access to recordPOST/default/rdmp/api/records/permissions/edit/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Give users edit access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username1",
"username2"
]
}
Give users pending edit access to record.
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"usersPending": [
"pendingusername1@email.com",
"pendingusername2@email.com"
]
}
Give users pending and immediate edit access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username1",
"username2"
],
"usersPending": [
"pendingusername1@email.com",
"pendingusername2@email.com"
]
}
200
Headers
Content-Type: application/json
Body
{
"edit": [
"username1",
"username2"
],
"view": [
"username1",
"username2"
],
"editRoles": [
"Admin"
],
"viewRoles": [
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"edit": {
"type": "array"
},
"view": {
"type": "array"
},
"editRoles": {
"type": "array"
},
"viewRoles": {
"type": "array"
}
},
"required": [
"edit",
"view",
"editRoles",
"viewRoles"
],
"additionalProperties": false
}
Remove users edit access to recordDELETE/default/rdmp/api/records/permissions/edit/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Remove users edit access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username2"
]
}
Remove pending users edit access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"usersPending": [
"pendingusername2@email.com"
]
}
Remove known users and pending users edit access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username2"
],
"usersPending": [
"pendingusername2@email.com"
]
}
200
Headers
Content-Type: application/json
Body
{
"edit": [
"username1"
],
"view": [
"username1",
"username2"
],
"editRoles": [
"Admin"
],
"viewRoles": [
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"edit": {
"type": "array"
},
"view": {
"type": "array"
},
"editRoles": {
"type": "array"
},
"viewRoles": {
"type": "array"
}
},
"required": [
"edit",
"view",
"editRoles",
"viewRoles"
],
"additionalProperties": false
}
Give users view access to recordPOST/default/rdmp/api/records/permissions/view/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Give users view access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username1",
"username2"
]
}
Give users pending view access to record.
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"usersPending": [
"pendingusername1@email.com",
"pendingusername2@email.com"
]
}
Give users pending and immediate view access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username1",
"username2"
],
"usersPending": [
"pendingusername1@email.com",
"pendingusername2@email.com"
]
}
200
Headers
Content-Type: application/json
Body
{
"edit": [
"username1",
"username2"
],
"view": [
"username1",
"username2"
],
"editRoles": [
"Admin"
],
"viewRoles": [
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"edit": {
"type": "array"
},
"view": {
"type": "array"
},
"editRoles": {
"type": "array"
},
"viewRoles": {
"type": "array"
}
},
"required": [
"edit",
"view",
"editRoles",
"viewRoles"
],
"additionalProperties": false
}
Remove users view access to recordDELETE/default/rdmp/api/records/permissions/view/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Remove users view access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username2"
]
}
Remove pending users view access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"usersPending": [
"pendingusername2@email.com"
]
}
Remove known users and pending users view access to record
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"users": [
"username2"
],
"usersPending": [
"pendingusername2@email.com"
]
}
200
Headers
Content-Type: application/json
Body
{
"edit": [
"username1"
],
"view": [
"username1",
"username2"
],
"editRoles": [
"Admin"
],
"viewRoles": [
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"edit": {
"type": "array"
},
"view": {
"type": "array"
},
"editRoles": {
"type": "array"
},
"viewRoles": {
"type": "array"
}
},
"required": [
"edit",
"view",
"editRoles",
"viewRoles"
],
"additionalProperties": false
}
Get access permissions for recordGET/default/rdmp/api/records/permissions/{oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"edit": [
"username"
],
"view": [
"username"
],
"editRoles": [
"Admin"
],
"viewRoles": [
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"edit": {
"type": "array"
},
"view": {
"type": "array"
},
"editRoles": {
"type": "array"
},
"viewRoles": {
"type": "array"
}
},
"required": [
"edit",
"view",
"editRoles",
"viewRoles"
],
"additionalProperties": false
}
Export Actions ¶
Export record dataGET/default/rdmp/api/export/record/download/{format}{?recType,before,after}
Example URI
- format
string
(required) Example: jsonThe format of the export. Valid values are ‘json’ or ‘csv’
- recType
string
(required) Example: rdmpThe type of record to export
- before
string
(required) Example: 2023-06-30T00:00:00ZShow records updated before the date (ISO 8601 format)
- after
string
(required) Example: 2022-07-01T00:00:00ZShow records updated after the date (ISO 8601 format)
200
Search ¶
Search Actions ¶
Search for recordsGET/default/rdmp/api/search{?searchStr}
Example URI
- searchStr
string
(required) Example: queryThe search string to query the index.
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"summary": {
"numFound": "1",
"page": "1",
"start": "0"
},
"records": [
{
"oid": "7e72b5952e8e323c77f72ae268a27c46",
"title": "A sample record title",
"dateCreated": "2020",
"dateModified": "2020",
"metadata": {}
}
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"numFound": {
"type": "string"
},
"page": {
"type": "string"
},
"start": {
"type": "string"
}
},
"required": [
"numFound",
"page",
"start"
]
},
"records": {
"type": "array"
}
},
"required": [
"summary",
"records"
],
"additionalProperties": false
}
Reindex recordGET/default/rdmp/api/search/index{?oid}
Example URI
- oid
string
(required) Example: 7e72b5952e8e323c77f72ae268a27c46The identifier for the record.
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"oid": "1234abcd",
"message": "Index request added to message queue for processing",
"details": "Additional details",
"status": "200"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"oid": {
"type": "string",
"description": "The object identifier"
},
"message": {
"type": "string",
"description": "The response message"
},
"details": {
"type": "string",
"description": "Additional details about the response"
},
"status": {
"type": "string"
}
}
}
Index all recordsGET/default/rdmp/api/search/indexAll
Example URI
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"oid": "1234abcd",
"message": "Index all records request added to message queue for processing",
"details": "Additional details",
"status": "200"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"oid": {
"type": "string",
"description": "The object identifier"
},
"message": {
"type": "string",
"description": "The response message"
},
"details": {
"type": "string",
"description": "Additional details about the response"
},
"status": {
"type": "string"
}
}
}
Remove all records from indexDELETE/default/rdmp/api/search/index/removeAll
Example URI
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"oid": "1234abcd",
"message": "Remove all records request added to message queue for processing",
"details": "Additional details",
"status": "200"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"oid": {
"type": "string",
"description": "The object identifier"
},
"message": {
"type": "string",
"description": "The response message"
},
"details": {
"type": "string",
"description": "Additional details about the response"
},
"status": {
"type": "string"
}
}
}
Report ¶
Report ¶
Execute Named QueryGET/default/rdmp/api/report/namedQuery/{queryName}{?rows,start}
Executes a named query based on the provided query name and parameters.
Example URI
- queryName
string
(required)The name of the query to execute.
- start
number
(optional)The starting index for the query results. Defaults to 0.
- rows
number
(optional)The number of rows to return. Defaults to 10 and must not be greater than 100.
Headers
Content-Type: application/json
Authorization: Bearer <token>
200
Headers
Content-Type: application/json
Body
{
"results": [],
"total": 0
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"results": {
"type": "array"
},
"total": {
"type": "number"
}
},
"required": [
"results",
"total"
]
}
400
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
500
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
User Management ¶
User Management Actions ¶
List users in the systemGET/default/rdmp/api/users{?searchBy,query,page,pageSize}
Example URI
- page
number
(optional) Default: 1 Example: 1The page index of the result set to show.
- pageSize
number
(optional) Default: 10 Example: 10The number of records to return in a page
- searchBy
string
(optional) Example: typeThe attribute to search by. e.g. email
- query
string
(optional) Example: localThe value to query. Only exact matches.
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"summary": {
"numFound": "1",
"page": "1",
"start": "0"
},
"records": [
{
"type": "local",
"name": "Local user",
"username": "user1",
"email": "localuser@redboxresearchdata.com.au",
"createdAt": "2017-10-09T03:34:47.660Z",
"updatedAt": "2017-11-20T04:08:33.061Z",
"id": "59daee5720b453050057c2f5"
}
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"numFound": {
"type": "string"
},
"page": {
"type": "string"
},
"start": {
"type": "string"
}
},
"required": [
"numFound",
"page",
"start"
]
},
"records": {
"type": "array"
}
},
"required": [
"summary",
"records"
],
"additionalProperties": false
}
Find user in the systemGET/default/rdmp/api/users/get{?searchBy,query}
Example URI
- searchBy
string
(required) Example: emailThe attribute to search by. e.g. email
- query
string
(required) Example: localuser@redboxresearchdata.com.auThe value to query. Only exact matches.
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"type": "local",
"name": "Local user",
"username": "user1",
"email": "localuser@redboxresearchdata.com.au",
"createdAt": "2017-10-09T03:34:47.660Z",
"updatedAt": "2017-11-20T04:08:33.061Z",
"id": "59daee5720b453050057c2f5"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"type",
"name",
"username",
"email",
"createdAt",
"updatedAt",
"id"
],
"additionalProperties": false
}
Create Local UserPUT/default/rdmp/api/users
Example URI
Create Local User
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"name": "Local user",
"username": "user1",
"email": "localuser@redboxresearchdata.com.au",
"password": "Password123!",
"roles": [
"Guest",
"Researcher",
"Librarian",
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"password": {
"type": "string"
},
"roles": {
"type": "array"
}
},
"required": [
"name",
"username",
"email",
"password",
"roles"
],
"additionalProperties": false
}
200
Headers
Content-Type: application/json
Body
{
"type": "local",
"name": "Local user",
"username": "user1",
"email": "localuser@redboxresearchdata.com.au",
"createdAt": "2017-10-09T03:34:47.660Z",
"updatedAt": "2017-11-20T04:08:33.061Z",
"id": "59daee5720b453050057c2f5"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"type",
"name",
"username",
"email",
"createdAt",
"updatedAt",
"id"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "User creation failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Update Local UserPOST/default/rdmp/api/users
Example URI
Create Local User
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"id": "59daee5720b453050057c2f5",
"name": "New Local user name",
"password": "Password123!",
"roles": [
"Guest",
"Researcher",
"Librarian",
"Admin"
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"roles": {
"type": "array"
}
},
"required": [
"id",
"roles"
],
"additionalProperties": false
}
200
Headers
Content-Type: application/json
Body
{
"type": "local",
"name": "Local user",
"username": "user1",
"email": "localuser@redboxresearchdata.com.au",
"createdAt": "2017-10-09T03:34:47.660Z",
"updatedAt": "2017-11-20T04:08:33.061Z",
"id": "59daee5720b453050057c2f5"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
},
"email": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"type",
"name",
"username",
"email",
"createdAt",
"updatedAt",
"id"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "User update failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Generate API Token for userGET/default/rdmp/api/users/token/generate{?id}
Example URI
- id
string
(required) Example: 59daee5720b453050057c2f5The user’s identifier
Generate API Token for user
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"id": "59daee5720b453050057c2f5",
"username": "user1",
"token": "aaf688be"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"token": {
"type": "string",
"description": "0ade-4dbf-845c-d34d9f4cb4ac"
}
},
"required": [
"id",
"username",
"token"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": "Unable to get user ID",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "Token generation failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Revoke API Token for userGET/default/rdmp/api/users/token/revoke{?id}
Example URI
- id
string
(required) Example: 59daee5720b453050057c2f5The user’s identifier
Revoke API Token for user
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"id": "59daee5720b453050057c2f5",
"username": "user1",
"token": null
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"token": {
"type": [
"string",
"null"
],
"description": "0ade-4dbf-845c-d34d9f4cb4ac"
}
},
"required": [
"id",
"username",
"token"
],
"additionalProperties": false
}
400
Headers
Content-Type: application/json
Body
{
"message": "Unable to get user ID",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "Token revocation failed",
"description": ""
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Roles ¶
Role Actions ¶
List System RolesGET/default/rdmp/api/roles
Example URI
List configured System Roles
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json
Body
{
"summary": {
"numFound": "1",
"page": "1",
"start": "0"
},
"records": [
{
"name": "Admin"
}
]
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"numFound": {
"type": "string"
},
"page": {
"type": "string"
},
"start": {
"type": "string"
}
},
"required": [
"numFound",
"page",
"start"
]
},
"records": {
"type": "array"
}
},
"required": [
"summary",
"records"
],
"additionalProperties": false
}
500
Headers
Content-Type: application/json
Body
{
"message": "An error has occurred",
"description": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "A string stating the error"
},
"description": {
"type": "string",
"description": "A description of the error"
}
},
"required": [
"message",
"description"
],
"additionalProperties": false
}
Other ¶
Admin Resources ¶
This endpoint is used to refresh the cached resources in the application such as CSS and JS resources and the language files.
Refresh Cached ResourcesGET/default/rdmp/api/admin/refreshCachedResources
Example URI
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The success message. Defaults to 'Request processed successfully'."
},
"details": {
"type": "string",
"description": "Additional details about the action. Defaults to an empty string."
}
}
}
500
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"details": "Hello, world!"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The error message. Defaults to 'An error has occurred'."
},
"details": {
"type": "string",
"description": "Additional details about the error. Defaults to an empty string."
}
}
}
Email Actions ¶
Send an emailPOST/default/rdmp/api/sendNotification
Example URI
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"to": [
"user@redboxresearchdata.com.au"
],
"subject": "A sample subject",
"template": "emailTemplateName",
"data": {
"property": "values to populate in template"
}
}
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"description": "Hello, world!",
"oid": "7e72b5952e8e323c77f72ae268a27c46"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message describing action"
},
"description": {
"type": "string",
"description": "A description of the error"
},
"oid": {
"type": "string"
}
},
"required": [
"message",
"description",
"oid"
],
"additionalProperties": false
}
Mint ¶
The following APIs are for the Mint system used to manage records used in lookups in ReDBox. Like ReDBox, the Mint system is configurable so the record type and associated metadata required varies from system to system.
Harvest records ¶
Harvest a set of records into MintPOST/mint/api/v1.1/harvest/{record_type}
Example URI
- record_type
string
(required) Example: ActivitiesThe name of the configured record type in Mint.
Headers
Content-Type: application/json
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
Body
{
"records": [
{
"harvest_id": "someSourceSystemIdentifierValue",
"metadata": {
"TITLE": "Activity Title",
"DESCRIPTION": "Activity Description"
}
}
]
}
200
Headers
Content-Type: application/json
Body
{
"message": "Hello, world!",
"description": "Hello, world!",
"oid": "7e72b5952e8e323c77f72ae268a27c46"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message describing action"
},
"description": {
"type": "string",
"description": "A description of the error"
},
"oid": {
"type": "string"
}
},
"required": [
"message",
"description",
"oid"
],
"additionalProperties": false
}
Search Mint records ¶
This endpoint is an authenticated wrapper to Apache solr’s search endpoint and supports all the basic common query parameters.
SearchGET/mint/api/v1.1/search{?q}
Example URI
- q
string
(required) Example: queryThe search string to query the index.
Headers
Authorization: Bearer abcabcab-abca-abca-abca-abcabcabcabc
200
Headers
Content-Type: application/json