Skip to main content
GET
/
sources
/
{sourceKey}
/
v1
/
resources
/
{resourceType}
/
{id}
Get a resource from the registry
curl --request GET \
  --url https://{workspaceId}.clinia.cloud/sources/{sourceKey}/v1/resources/{resourceType}/{id} \
  --header 'X-Clinia-API-Key: <api-key>'
{
  "id": "<string>",
  "type": "<string>",
  "meta": {
    "createdAt": "2023-11-07T05:31:56Z",
    "identifier": [
      {
        "id": "<any>",
        "system": "<any>",
        "value": "<any>",
        "use": "<any>",
        "period": "<any>"
      }
    ],
    "source": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "data": {},
  "contained": {},
  "includes": {}
}

Authorizations

X-Clinia-API-Key
string
header
required

Path Parameters

sourceKey
string
required

The key of the source.

resourceType
string
required

Type of the resource. Key of the profile.

id
string
required

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

Query Parameters

includes
string[]

List of relationship property key (included resources) to includes with the response. Keys must be valid relationship property key for the given resource type.

Response

The resource with the given id.

The included resources or relationships. All odd number of path segments are relationships, and all even number of path segments are resources.

id
string
required

Id of the resource.

type
string
required

Type of the resource.

data
object
required

Dynamic data attributes, based on the resource type.

meta
object
contained
object

Resources contained in this top-level resource. Contained resources exists only within the context of this top-level resource.

includes
object
I