Skip to Content

POST /field/draft

Patch Field Draft

Patch field draft — composable infra architecture.

Request Body (PatchFieldDraftApiRequest)

FieldTypeRequiredDescription
draft_idstringNoExisting draft UUID to update
input_draft_idstringNoExisting draft UUID to update
namestringNoName value to resolve or create
name_idstringNoUUID of the name resource
descriptionstringNoDescription value to resolve or create
description_idstringNoUUID of the description resource
flag_idsstring[]NoSelected flag option UUIDs — canonical; server derives semantics by flag type/value
activebooleanNoDenormalized field_active flag state; resolved to a flag_ids entry server-side
department_idsstring[]NoDepartment UUIDs to assign
departmentsstring[]NoDepartment names to resolve
conditional_parameter_idsstring[]NoConditional parameter UUIDs
conditional_parametersstring[]NoConditional parameter names to resolve
pending_idsstring[]NoResource IDs to keep pending where supported
idempotency_keystringNoOperation key for ack or retry
softbooleanNoStage the draft dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept or reject dormant state

Response (PatchFieldDraftApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the draft save succeeded
draft_idstringYesUUID of the saved draft
idempotency_keystringYesIdempotency key for this draft operation
messagestringYesResult message
form_stateapp__infra__field__types__DraftFormStateNoServer-authoritative form state
Last updated on