Get a specific history item
Get a single version history entry by its operation ID. The full data payload of the entity at that point in time can optionally be included.
X-Clinia-API-Key<token>sourceKey*stringThe source key.
collectionType*stringThe type of the collection.
"resources""relationships"collectionKey*stringThe key of the collection.
itemId*stringThe id of the item.
operationId*stringThe unique ID of the operation entry.
withPayload?booleanIf true, the full entity payload related to the operationId will be included in the response.
falseThe specific version history item.
application/json- response
A version history item that includes the full data payload of the entity at that point in time.
id*stringThe unique identifier of the resource or relationship.
type*stringThe collection type of the entity.
targetType*v1CollectionType"resources""relationships"operationId*stringThe unique identifier of the operation.
taskId*stringThe identifier of the task that processed this operation.
timestamp*stringThe exact time the operation was applied.
date-timeaction*v1OperationActionThe action to perform.
"CREATE""UPSERT""DELETE""UPDATE"userInfo*Information about the user or service that performed the operation.
payload*curl -X GET 'https://api..clinia.cloud/sources/string/v1/history/resources/string/string/operations/string'{ "id": "string", "type": "string", "targetType": "resources", "operationId": "string", "taskId": "string", "timestamp": "2019-08-24T14:15:22Z", "action": "CREATE", "userInfo": { "id": "string", "email": "string" }, "payload": { "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": {} } ] } }}