Download OpenAPI specification:
The following document is a reference guide for all the REST APIs that InvenioRDM exposes.
| recordId required | string Unique identifier for the record |
{- "permission": "view",
- "expires_at": "2024-11-06"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| recordId required | string Unique identifier for the record |
| linkId required | string Unique identifier for the access link |
{- "permission": "edit",
- "expires_at": "2024-11-06"
}{ }| requestId required | string Unique identifier for the request |
{- "payload": {
- "content": "Your request has been accepted!",
- "format": "html"
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| requestId required | string Unique identifier for the request |
{- "payload": {
- "content": "Your request has been cancelled!",
- "format": "html"
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| requestId required | string Unique identifier for the request |
{- "payload": {
- "content": "Your request has been declined!",
- "format": "html"
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| requestId required | string Unique identifier for the request |
{- "payload": {
- "content": "I would use these subject terms to align the record with others in the community.",
- "format": "html"
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| requestId required | string Unique identifier for the request |
| comment_id required | string |
{- "payload": {
- "content": "I would use these subject terms to align this record and the other one with others in the community.",
- "format": "html"
}
}{ }{- "access": {
- "visibility": "public",
- "member_policy": "open",
- "record_policy": "open",
- "review_policy": "closed",
- "members_visibility": "restricted"
}, - "slug": "public-community-{{$randomProductAdjective}}-{{$randomVerb}}",
- "metadata": {
- "title": "public-community-{{$randomProductAdjective}}-{{$randomVerb}}",
- "description": "{{$randomCatchPhraseDescriptor}}",
- "type": {
- "id": "event"
}, - "curation_policy": "This is the kind of records we accept.",
- "page": "{{$randomJobDescriptor}}",
- "organizations": [
- {
- "name": "Example University"
}
]
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| prettyprint | string Example: prettyprint=1 |
| q | string Example: q=test Search query used to filter results based on ElasticSearch's query string syntax. |
| sort | string Example: sort=updated-asc Sort search results. Customizable. Built-in options are "bestmatch", "newest", "oldest", "updated-desc", "updated-asc", "version" (default: "bestmatch" or "newest"). |
| size | string Example: size=2 Specify number of items in the results page (default: 10) |
| page | string Example: page=1 Specify the page of results. |
| type | string Specify community type as one of organization, event, topic or project. |
{ }| communityId required | string Unique identifier for the community |
{- "access": {
- "visibility": "restricted",
- "member_policy": "closed",
- "record_policy": "closed"
}, - "slug": "{{community-slug}}",
- "metadata": {
- "title": "example-community-{{$randomProductAdjective}}-{{$randomVerb}}",
- "description": "{{$randomCatchPhraseDescriptor}}",
- "type": {
- "id": "event"
}, - "curation_policy": "This is the kind of records we accept.",
- "page": "Information for my community.",
- "organizations": [
- {
- "name": "Example Organization"
}
]
}
}{ }| communityId required | string Unique identifier for the community |
| q | string Example: q=metadata.publication_date%3A%5B2020-01-01%20TO%20%2A%5D metadata.publication_date:[YYYY-MM-DD TO *] - Search for records published after a specific date |
{ }| communityId required | string Unique identifier for the community |
{- "access": {
- "visibility": "public",
- "member_policy": "open",
- "record_policy": "open"
}, - "slug": "public-community-{{$randomProductAdjective}}-{{$randomVerb}}",
- "metadata": {
- "title": "public-community-{{$randomProductAdjective}}-{{$randomVerb}}",
- "description": "{{$randomCatchPhraseDescriptor}}",
- "type": {
- "id": "event"
}, - "curation_policy": "This is the kind of records we accept.",
- "page": "{{$randomJobDescriptor}}",
- "organizations": [
- {
- "name": "Example University"
}
]
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| communityId required | string Unique identifier for the community |
{- "start_date": "2024-06-12T23:24:15.373Z"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| prettyprint | string Example: prettyprint=1 |
| q | string Example: q=test Search query used to filter results based on ElasticSearch's query string syntax. |
| size | string Example: size=2 Specify number of items in the results page (default: 10) |
| page | string Example: page=1 Specify the page of results. |
| type | string Specify community type as one of organization, event, topic or project. |
{ }| communityId required | string Unique identifier for the community |
| featured-entry-id required | string |
{- "start_date": "2024-06-11T10:13:13.945Z"
}{ }| draftId required | string Unique identifier for the draft record |
{- "receiver": {
- "community": "{{community-id}}"
}, - "type": "community-submission"
}{ }| draftId required | string Unique identifier for the draft record |
{- "payload": {
- "content": "Thank you in advance for the review.",
- "format": "html"
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| draftId required | string Unique identifier for the draft record |
{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| draftId required | string Unique identifier for the draft record |
{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| draftId required | string Unique identifier for the draft record |
{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| draftId required | string Unique identifier for the draft record |
object (Access) Denotes record-specific read (visibility) options. More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/metadata/#access | |
object (Files) Files options for the record. More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/rest_api_drafts_records/#files-options | |
object (Metadata) Metadata schema of bibliographic records in InvenioRDM. More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/metadata/#metadata | |
object (CustomFields) Custom fields metadata for the record. (v10 and newer). More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/operate/customize/metadata/custom_fields/records/#declaring-custom-fields |
{- "access": {
- "record": "public",
- "files": "public"
}, - "files": {
- "enabled": "false"
}, - "metadata": {
- "creators": [
- {
- "person_or_org": {
- "family_name": "Doe",
- "given_name": "John",
- "identifiers": [
- {
- "identifier": "0000-0000-0000-0001",
- "scheme": "orcid"
}
], - "name": "Doe, John",
- "type": "personal"
}, - "role": {
- "id": "other"
}
}, - {
- "person_or_org": {
- "family_name": "Smith",
- "given_name": "Jane",
- "identifiers": [
- {
- "scheme": "orcid",
- "identifier": "0000-0000-0000-0002"
}
], - "name": "Smith, Jane",
- "type": "personal"
}, - "affiliations": [
- {
- "name": "Example University"
}
]
}
], - "publication_date": "2020-06-01",
- "resource_type": {
- "id": "image-photo"
}, - "title": "Update title using API draft request"
}
}{ }| draftId required | string Unique identifier for the draft record |
{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| draftId required | string Unique identifier for the draft record |
| key required | string Key (filename) of the file |
| size | integer <int64> Size of the file in bytes. |
| checksum | string Checksum of the file. |
object (FileTransfer) |
[- {
- "key": "{{file-name}}"
}
]{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| draftId required | string Unique identifier for the draft record |
| file-name required | string |
{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| communityId required | string Unique identifier for the community |
| q | string Example: q=test Search query used to filter results. |
| sort | string Example: sort=bestmatch Sort search results. Customizable. Built-in options are "bestmatch", "name", "newest", "oldest" (default: "bestmatch" or "name"). |
| size | string Example: size=1 Specify number of items in the results page (default: 10). |
| page | string Example: page=1 Specify the page of results. |
| role | string Example: role=owner Filter by role (one of reader, curator, manager, owner). |
| status | string Example: status=accepted Filter by status (one of submitted, accepted, declined, expired, cancelled) |
| is_open | string Example: is_open=false Filter by open/closed (one of true, false) |
{ }| communityId required | string Unique identifier for the community |
{- "members": [
- {
- "id": "1",
- "type": "user"
}
], - "role": "curator",
- "message": "<p>Hi</p>"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| communityId required | string Unique identifier for the community |
{- "members": [
- {
- "id": "admin",
- "type": "group"
}, - {
- "id": "3",
- "type": "user"
}
], - "visible": false,
- "role": "reader"
}{ }| communityId required | string Unique identifier for the community |
| q | string Search query used to filter results. |
| sort | string Sort search results. Customizable. Built-in options are "bestmatch", "name", "newest", "oldest" (default: "bestmatch" or "name"). |
| size | string Specify number of items in the results page (default: 10). |
| page | string Specify the page of results. |
| role | string Filter by role (one of reader, curator, manager, owner). |
| visibility | string Filter by visibility (one of true, false) |
{ }| communityId required | string Unique identifier for the community |
{- "members": [
- {
- "id": "admin",
- "type": "group"
}
], - "role": "curator"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| communityId required | string Unique identifier for the community |
{- "members": [
- {
- "id": "admin",
- "type": "group"
}, - {
- "id": "3",
- "type": "user"
}
], - "visible": false,
- "role": "reader"
}{ }| communityId required | string Unique identifier for the community |
| q | string Search query used to filter results. |
| size | string Specify number of items in the results page (default: 10). |
| page | string Specify the page of results. |
{ }object (Access) Denotes record-specific read (visibility) options. More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/metadata/#access | |
object (Files) Files options for the record. More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/rest_api_drafts_records/#files-options | |
object (Metadata) Metadata schema of bibliographic records in InvenioRDM. More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/metadata/#metadata | |
object | |
object (PIDs) unique |
{- "access": {
- "record": "public",
- "files": "public"
}, - "files": {
- "enabled": true
}, - "metadata": {
- "creators": [
- {
- "person_or_org": {
- "family_name": "Doe",
- "given_name": "John",
- "identifiers": [
- {
- "identifier": "0000-0000-0000-0000",
- "scheme": "orcid"
}
], - "name": "Doe, John",
- "type": "personal"
}, - "affiliations": [
- {
- "id": "example-org-id",
- "name": "Example Organization"
}
], - "role": {
- "id": "other"
}
}
], - "publication_date": "2020-06-01",
- "resource_type": {
- "id": "image-photo"
}, - "title": "Example API draft request {{$randomWord}}"
}, - "type": "community-submission"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| q | string Search query used to filter results based on ElasticSearch's query string syntax. |
| sort | string Example: sort=newest Sort search results. Customizable. Built-in options are "bestmatch", "newest", "oldest", "updated-desc", "updated-asc", "version", "mostviewed", "mostdownloaded" (default: "bestmatch" or "newest"). |
| size | string Specify number of items in the results page (default: 10). |
| page | string Specify the page of results. |
| allversions | string Example: allversions=True Specify if all versions should be included (default: False, displays just latest version). |
{ }| recordId required | string Unique identifier for the record |
{- "permission": "view",
- "expires_at": "2024-11-06"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| recordId required | string Unique identifier for the record |
| linkId required | string Unique identifier for the access link |
{- "permission": "edit",
- "expires_at": "2024-11-06"
}{ }| requestId required | string Unique identifier for the request |
{- "payload": {
- "content": "I would use these subject terms to align the record with others in the community.",
- "format": "html"
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| requestId required | string Unique identifier for the request |
| comment_id required | string |
{- "payload": {
- "content": "I would use these subject terms to align this record and the other one with others in the community.",
- "format": "html"
}
}{ }| q | string Search query used to filter results based on ElasticSearch's query string syntax. |
| sort | string Sort search results. Built-in options are "bestmatch", "name", "newest", "oldest" (default: "bestmatch" or "newest"). |
| size | string Specify number of items in the results page (default: 10). |
| page | string Specify the page of results. |
{ }| requestId required | string Unique identifier for the request |
{- "expires_at": "2024-06-11",
- "id": "{{record-id}}",
- "number": "1",
- "revision_id": 1,
- "status": "draft",
- "title": "A new title",
- "type": "default-request"
}{ }{- "views": {
- "stat": "record-view",
- "params": {
- "recid": "{{record-id}}"
}
}, - "views-all-versions": {
- "stat": "record-view-all-versions",
- "params": {
- "parent_recid": "{{parent-id}}"
}
}, - "views-with-date-range": {
- "stat": "record-view",
- "params": {
- "start_date": "{{$randomDateRecent}}",
- "end_date": "{{$randomDateFuture}}",
- "recid": "{{record-id}}"
}
}
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| q | string Example: q=is_published:false |
| search | string Example: search=pids.doi.identifier:example-doi-123 Search query used to filter user records, typically by persistent identifier or other record fields. |
{ }| recordId required | string Unique identifier for the record |
{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| q | string Example: q=lastname Search query used to filter results. |
| sort | string Sort search results. Built-in options are "bestmatch", "name", "newest", "oldest" (default: "bestmatch" or "name"). |
| size | string Specify number of items in the results page (default: 10). |
| page | string Specify the page of results. |
| suggest | string "Search as you type" query. |
{ }| q | string Search query used to filter results. |
| suggest | string "Search as you type" query. |
| sort | string Example: sort=bestmatch Sort search results. Built-in options are "bestmatch", "name", "newest", "oldest" (default: "bestmatch" or "name"). |
| size | string Example: size=1 Specify number of items in the results page (default: 10). |
| page | string Example: page=1 Specify the page of results. |
{ }| q | string Search query used to filter results. |
| suggest | string "Search as you type" query. |
| sort | string Example: sort=bestmatch Sort search results. Built-in options are "bestmatch", "name", "newest", "oldest" (default: "bestmatch" or "name"). |
| size | string Example: size=1 Specify number of items in the results page (default: 10). |
| page | string Example: page=1 Specify the page of results. |
{ }| vocabularies-type required | string |
| q | string Example: q=arabic Search query used to filter results based on ElasticSearch's query string syntax. |
| suggest | string One or more words used to suggest records as the user types (i.e. auto-complete). |
| tags | string Filter results to the tag string |
| sort | string Example: sort=bestmatch Sort search results. Unless overridden by a specific vocabulary, the built-in options are "bestmatch", "title", "newest", "oldest" (default: "bestmatch" or "title"). |
| size | string Example: size=1 Specify number of items in the results page (default: 10). |
| page | string Example: page=1 Specify the page of results. |
| ln | string Example: ln=en_US Locale used to localize the title and description (e.g. en or en_US) |
| accept-language | string Example: accept-language=en_US Locale used to localize the title and description (e.g. en or en_US) |
{ }Search and filter audit log entries based on various parameters.
| q | string Example: q=abcd-1234 Search query used to filter audit log entries |
| size | string Example: size=10 Specify number of items in the results page (default: 10) |
| page | string Example: page=1 Specify the page of results |
| sort | string Example: sort=newest Sort search results. Built-in options are "newest", "oldest" (default: "newest") |
{- "hits": {
- "total": 0,
- "hits": [
- {
- "id": "9913abd2-1a7c-42cb-a73e-e48a9e1bf4f2",
- "created": "2025-06-20T08:05:27.730677+00:00",
- "action": "record.publish",
- "resource": {
- "type": "record",
- "id": "5anb0-85626"
}, - "metadata": {
- "ip_address": "string",
- "session": "string",
- "parent_pid": "1av3p-t2p41",
- "revision_id": 110
}, - "user": {
- "id": "2",
- "username": "user",
- "email": "user@demo.org"
},
}
]
}, - "aggregations": { }
}Retrieve a specific audit log entry by its unique identifier.
| logId required | string Unique identifier for the audit log entry |
{- "id": "9913abd2-1a7c-42cb-a73e-e48a9e1bf4f2",
- "created": "2025-06-20T08:05:27.730677+00:00",
- "action": "record.publish",
- "resource": {
- "type": "record",
- "id": "5anb0-85626"
}, - "metadata": {
- "ip_address": "string",
- "session": "string",
- "parent_pid": "1av3p-t2p41",
- "revision_id": 110
}, - "user": {
- "id": "2",
- "username": "user",
- "email": "user@demo.org"
},
}{- "name": "{{$randomWord}}",
- "spec": "{{$randomWord}}",
- "description": "{{$randomLoremParagraph}}",
- "search_pattern": "{{$randomWord}}"
}{- "access": {
- "record": "public",
- "files": "public",
- "embargo": {
- "active": true,
- "until": "2019-08-24",
- "reason": "string"
}
}, - "created": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "files": {
- "enabled": true,
- "default_preview": "string",
- "order": [
- "string"
]
}, - "id": "string",
- "is_published": true,
- "metadata": { },
- "parent": { },
- "pids": {
- "property1": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}, - "property2": {
- "identifier": null,
- "provider": "string",
- "client": "string"
}
}, - "revision_id": 0,
- "updated": "2019-08-24T14:15:22Z",
- "versions": {
- "index": 0,
- "is_latest": true,
- "is_latest_draft": true
}
}| setId required | string Unique identifier for the OAI-PMH set |
{- "name": "{{$randomWord}}",
- "spec": "{{$randomWord}}",
- "description": "{{$randomLoremParagraph}}",
- "search_pattern": "{{$randomWord}}"
}{ }