Apply a previewed status mapping as a durable migration job
Apply a previewed status mapping as a durable migration job
/api/v1/workspaces/{workspace_id}/lifecycle-definitions/{definition_id}/mapping-applicationsRequires Workspace management authority and an Idempotency-Key; a
repeat with the same key and mapping returns the original job and a
different mapping is 409 idempotency_key_conflict. The request is
re-validated against If-Match and destination_revisions
(409 lifecycle_preview_stale or revision_conflict), and material
behavior changes or a default replacement need acknowledged: true
(409 lifecycle_acknowledgement_required). Scopes within the
1,000-entity synchronous limit are moved before the response
(200, status completed, or 202 when a retry is pending); larger
scopes return 202 and a background worker moves bounded pages. A
Workspace has one applying job (409 lifecycle_migration_pending).
Path Parameters
Header Parameters
string·min 43·max 43Session-bound CSRF token. It must exactly match the
__Host-assign_csrf cookie sent with the request.
string·min 16·max 200Opaque client-generated key for safely retrying this operation.
Request Body
application/jsonobjectSource status ID to destination status ID. A source mapped to itself keeps its ID and entities. Sources are exactly the keys.
Responses
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
stringstring <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·min 1·max 200Correlation identifier for the request.
string·const nosniffPrevents user agents from MIME-sniffing the response.