RegistryVersionhistory
Get the history for a record or relationship
GET
Retrieves a list of all operations performed on a specific source entity (record or relationship). Results can be paginated and filtered by a date range.
header
X-Clinia-API-Key<token>sourceKey*stringThe source key.
collectionType*stringThe type of the collection.
Value in
"resources""relationships"collectionKey*stringThe key of the collection.
itemId*stringThe id of the item.
perPage?integerThe number of items to return per page.
Format
int32Default
20page?integerThe page number to retrieve.
Format
int32Default
1from?stringThe start of the date range filter (ISO 8601 format). The default value is the beginning of time.
Format
date-timeto?stringThe end of the date range filter (ISO 8601 format). The default value is now.
Format
date-timeA list of version history items for the entity.
application/json- response
Represents a list version history item related to an entity.
[index: integer]?Represents a single entry in an entity's version history.
curl -X GET 'https://api..clinia.cloud/sources/string/v1/history/resources/string/string/operations'Example Response
[ { "id": "string", "type": "string", "targetType": "resources", "operationId": "string", "taskId": "string", "timestamp": "2019-08-24T14:15:22Z", "action": "CREATE", "userInfo": { "id": "string", "email": "string" } }]