Skip to main content
GET
/
partitions
/
{partitionKey}
/
v1
/
collections
/
{collectionKey}
/
objects
/
{objectId}
Retrieve a object from a data partition
curl --request GET \
  --url https://{workspaceId}.clinia.cloud/partitions/{partitionKey}/v1/collections/{collectionKey}/objects/{objectId} \
  --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

partitionKey
string
required
collectionKey
string
required
objectId
string
required

The object ID. Can also be an identifier with one of the following formats:

  • source:{sourceObjectId}:{sourceKey}.{sourceObjectType} (e.g. source:123:mySourceA.clinic). This is useful to fetch a object when knowing its source object id.

Response

A successful response.

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