Get a task from the registry
Get the operation receipts related to a task id.
X-Clinia-API-Key<token>sourceKey*stringThe source key.
taskId*stringThe task id.
withReceipts?booleanIf set to true, the operation receipts of the task will be included in the response. Else only the status of the task will be returned.
falseThe task with the given id.
application/json- response
status*v1TaskStatusStatus of the task.
SUCCESS: All the operations of the task completed successfully.PENDING: At least one operation in the task is still pending.CANCELLED: All the operations in the task were cancelled.FAILURE: At least one operations failed or was cancelled.
"SUCCESS""PENDING""CANCELLED""FAILURE"taskId*v1TaskIdThe task identifier. Used to track an async task in the system. Use the task ID to poll for completion status. The taskId holds different prefix to represent different tasks.
- oneOf task:
s_<id>. - bulk task:
bk_<id>(deprecated:<id>only). - bundle task:
bd_<id>(deprecated:<id>only). - purge task:
pg_<id>(deprecated:purge:<id>).
receipts?array<|>curl -X GET 'https://api..clinia.cloud/sources/string/v1/tasks/string'{ "status": "SUCCESS", "taskId": "string", "receipts": [ { "receivedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z", "taskId": "string", "action": "CREATE", "status": "SUCCESS", "error": { "code": 400, "message": "string", "type": "ALREADY_EXISTS", "details": [ {} ], "additionalContext": {} }, "pipelineExecution": { "id": "string", "pipelineDefinitionId": "string", "status": "SUCCESSFUL" }, "targetType": "RELATIONSHIP", "id": "string", "type": "string" } ]}Search accross resource or relationship collections in the registry POST
Search across resource or relationship collections in the registry. This endpoint suppport both regular and federated search depending on the number of collection keys specified in the path. If the search is done on one multiple collections are specified, it must use federated search paths. This means that operators expect the collection type and collection key to be specified in the path. For example, `resources.<collectionKey>.<propertyKey>`. If the search is done on a single collection, both regular and federated search paths are supported.
Get a specific history item GET
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.