RegistryResources
Get a resource from the registry
GET
Get a resource from the registry.
header
X-Clinia-API-Key<token>sourceKey*stringThe key of the source.
resourceType*stringType of the resource. Key of the profile.
id*stringThe resource ID. It can also be an identifier with the following formats {system}:{value}:{use} (e.g. clinia:123:use).
includes?array<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.
The resource with the given id.
application/json- response
The included resources or relationships. All odd number of path segments are relationships, and all even number of path segments are resources.
id*The logical identifiertype*stringType of the resource.
meta?data*contained?Resources contained in this top-level resource. Contained resources exists only within the context of this top-level resource.
includes?unknowncurl -X GET 'https://api..clinia.cloud/sources/string/v1/resources/string/string'Example Response
{ "id": "string", "type": "string", "meta": { "createdAt": "2019-08-24T14:15:22Z", "identifier": [ { "id": "string", "system": "string", "value": "string", "use": "string", "period": { "id": "string", "start": "string", "end": "string" } } ], "source": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "data": {}, "contained": { "property1": [ { "id": "string", "type": "string", "meta": { "createdAt": "2019-08-24T14:15:22Z", "identifier": [ { "id": "string", "system": "string", "value": "string", "use": "string", "period": { "id": "string", "start": "string", "end": "string" } } ], "source": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "data": {} } ], "property2": [ { "id": "string", "type": "string", "meta": { "createdAt": "2019-08-24T14:15:22Z", "identifier": [ { "id": "string", "system": "string", "value": "string", "use": "string", "period": { "id": "string", "start": "string", "end": "string" } } ], "source": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "data": {} } ] }, "includes": { "property1": [ { "id": "string", "type": "string", "from": { "id": "string", "type": "string" }, "to": { "id": "string", "type": "string" }, "meta": { "createdAt": "2019-08-24T14:15:22Z", "identifier": [ { "id": "string", "system": "string", "value": "string", "use": "string", "period": { "id": "string", "start": "string", "end": "string" } } ], "source": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "data": {} } ], "property2": [ { "id": "string", "type": "string", "from": { "id": "string", "type": "string" }, "to": { "id": "string", "type": "string" }, "meta": { "createdAt": "2019-08-24T14:15:22Z", "identifier": [ { "id": "string", "system": "string", "value": "string", "use": "string", "period": { "id": "string", "start": "string", "end": "string" } } ], "source": "string", "updatedAt": "2019-08-24T14:15:22Z" }, "data": {} } ] }}