POST /field/draft
Patch Field Draft
Patch field draft — composable infra architecture.
Request Body (PatchFieldDraftApiRequest)
| Field | Type | Required | Description |
|---|---|---|---|
draft_id | string | No | Existing draft UUID to update |
input_draft_id | string | No | Existing draft UUID to update |
name | string | No | Name value to resolve or create |
name_id | string | No | UUID of the name resource |
description | string | No | Description value to resolve or create |
description_id | string | No | UUID of the description resource |
flag_ids | string[] | No | Selected flag option UUIDs — canonical; server derives semantics by flag type/value |
active | boolean | No | Denormalized field_active flag state; resolved to a flag_ids entry server-side |
department_ids | string[] | No | Department UUIDs to assign |
departments | string[] | No | Department names to resolve |
conditional_parameter_ids | string[] | No | Conditional parameter UUIDs |
conditional_parameters | string[] | No | Conditional parameter names to resolve |
pending_ids | string[] | No | Resource IDs to keep pending where supported |
idempotency_key | string | No | Operation key for ack or retry |
soft | boolean | No | Stage the draft dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it |
accept | boolean | No | Accept or reject dormant state |
Response (PatchFieldDraftApiResponse)
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | Whether the draft save succeeded |
draft_id | string | Yes | UUID of the saved draft |
idempotency_key | string | Yes | Idempotency key for this draft operation |
message | string | Yes | Result message |
form_state | app__infra__field__types__DraftFormState | No | Server-authoritative form state |
Last updated on