Get the result of a purge request
Get the result of a purge request.
X-Clinia-API-Key<token>sourceKey*stringThe key of the source.
taskId*stringID of the purge job.
Gets the current status of the purge job.
application/json- response
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>).
collectionType*v1CollectionTypeType of document, either relationships or resources.
"resources""relationships"collectionKey*stringKey of the resource or relationship collection.
status*v1OperationStatusStatus of the purge operation.
"SUCCESS""PENDING""CANCELLED""FAILURE"deletedCount?integerNumber of documents deleted in case of success status.
int64createdAt?stringdate-timeupdatedAt?stringdate-timecurl -X GET 'https://api..clinia.cloud/sources/string/v1/purge/string'{ "taskId": "string", "collectionType": "resources", "collectionKey": "string", "status": "SUCCESS", "deletedCount": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Query pipeline executions POST
Query the pipeline executions of a source. The fields that can be used to filter or sort pipeline executions are: - `id`: The pipeline execution id. - `pipelineDefinitionId`: The pipeline definition id. - `createdAt`: The pipeline execution creation timestamp. - `updatedAt`: The pipeline execution last update timestamp. - `status`: The pipeline execution status. - `operation.action`: The action of the operation that triggered the pipeline execution. - `operation.taskId`: The id of the task that triggered the pipeline execution. - `operation.target.targetType`: The type of the target that triggered the pipeline execution. It can be 'RESOURCE' or 'RELATIONSHIP'. - `operation.target.type`: The type of the resource or relationship that triggered the pipeline execution. - `operation.target.id`: The id of the resource or relationship that triggered the pipeline execution. - `reviewAssignment.reviewerId`: The id of the reviewer assigned to review the operation that triggered the pipeline execution, if any. Note: this field is only available as a filter, not as a sort field. It also only supports the equality operator.
List purge operations GET
List purge operations.