Skip to content
LogoLogo

Resolve the status that completes an entity of a kind

Resolve the status that completes an entity of a kind

GET/api/v1/workspaces/{workspace_id}/lifecycle-completion-targets

Requires Workspace read access. Completion is never inferred from labels. With one completing status the response names it. With several and no target_status_id the response is 409 completion_target_required listing the choices, so the caller must name one. An explicit target that does not count as completed is 422 completion_target_invalid; a kind without any completing status is 422 completion_target_unavailable.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

kindRequired
string
Values
taskmilestoneproject
definition_id
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
target_status_id
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Responses