Update a repair task
PATCH
/v1/repair-tasks/{repairTaskId}curl -X PATCH 'https://api.embodiflow.io/v1/repair-tasks/{repairTaskId}' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT' \
-H 'Content-Type: application/json' \
-d '{
"status": "open",
"assigneeProjectMembershipId": "00000000-0000-0000-0000-000000000000",
"resolution": "fixed",
"waiveReason": "string",
"dueAt": "string"
}'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- repairTaskIdstringrequired
Header parameters
- If-Matchstring
Optional precondition. A matching tag proceeds and returns the new ETag. A stale tag returns 412 PRECONDITION_FAILED with no write. Absent proceeds (opt-in this release). If-Match: * succeeds when the resource exists. Malformed values return 400 IF_MATCH_INVALID.
Request body
Content-Typeapplication/json
- statusstringAllowed valuesopenin_progressresolvedwaived
- assigneeProjectMembershipIdstring (uuid) | null
- resolutionstringAllowed valuesfixedwaivedduplicatenot_reproducible
- waiveReasonstring | null
- dueAtstring | null
Responses
Success
- dataobjectrequired
- idstringrequired
- tenantIdstringrequired
- projectIdstringrequired
- scopeTypestringrequiredAllowed valuesdatasetprojectdataset_version
- datasetIdstring | nullrequired
- datasetVersionIdstring | nullrequired
- sourceTypestringrequiredAllowed valueshealth-checkworkflow-runworkflow_itemquality-ruleannotation-gapexport-jobpolicy-gatecollection-delivery-batchcollection-submission
- sourceIdstringrequired
- titlestring | nullrequired
- descriptionstring | nullrequired
- severitystringrequiredAllowed valueswarninginfoblocking
- statusstringrequiredAllowed valuesin_progressopenresolvedwaived
- assigneeobjectrequired
- dueAtstring | nullrequired
- resolutionstring | nullrequiredAllowed valuesfixedwaivedduplicatenot_reproducible
- waiveReasonstring | nullrequired
- waivedAtstring | nullrequired
- waivedByobjectrequired
- resolvedAtstring | nullrequired
- createdAtstringrequired
- updatedAtstringrequired
- deduplicatedone of
Response example
{
"data": {
"id": "string",
"tenantId": "string",
"projectId": "string",
"scopeType": "dataset",
"datasetId": "string",
"datasetVersionId": "string",
"sourceType": "health-check",
"sourceId": "string",
"title": "string",
"description": "string",
"severity": "warning",
"status": "in_progress",
"assignee": {
"projectMembershipId": "string",
"membershipId": "string",
"displayName": "string"
},
"dueAt": "string",
"resolution": "fixed",
"waiveReason": "string",
"waivedAt": "string",
"waivedBy": {
"membershipId": "string",
"displayName": "string"
},
"resolvedAt": "string",
"createdAt": "string",
"updatedAt": "string",
"deduplicated": false
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1