Skip to main content
GET
/
sources
/
{sourceKey}
/
v1
/
objects
/
{collectionKey}
/
{id}
Get an object from the registry
curl --request GET \
  --url https://{workspaceId}.clinia.cloud/sources/{sourceKey}/v1/objects/{collectionKey}/{id} \
  --header 'X-Clinia-API-Key: <api-key>'
{
  "id": "<string>",
  "type": "<string>",
  "meta": {
    "createdAt": "2023-11-07T05:31:56Z",
    "identifier": [
      {
        "id": "<string>",
        "system": "<string>",
        "value": "<string>",
        "use": "<string>",
        "period": {
          "id": "<string>",
          "start": "<string>",
          "end": "<string>"
        }
      }
    ],
    "source": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "data": {},
  "fileMeta": {
    "originalName": "<string>",
    "mimeType": "<string>",
    "size": 1,
    "key": "<string>"
  }
}

Authorizations

X-Clinia-API-Key
string
header
required

Path Parameters

sourceKey
string
required

The key of the source.

collectionKey
string
required

The key of the collection where the object is stored.

id
string
required

The object ID. It can also be an identifier with the following formats {system}:{value}:{use} (e.g. clinia:123:use).

Response

The object with the given id.

An object is a resource representing a binary file stored in the repository.

id
string
required

The logical identifier.

type
string
required

Type of the resource.

meta
object
data
object
fileMeta
object

Metadata for a file object.

I