Skip to Content

POST /setting/draft

Patch Setting Draft

Patch setting draft — composable infra architecture.

Request Body (PatchSettingDraftApiRequest)

FieldTypeRequiredDescription
draft_idstringNoExisting draft UUID to update
input_draft_idstringNoLegacy draft UUID alias
idempotency_keystringNoOperation key for accept/reject acknowledgement
softbooleanNoStage the draft dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept or reject pending draft state when used with idempotency_key
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 setting_active flag state; resolved to a flag_ids entry server-side
mcpbooleanNoDenormalized mcp flag state; resolved to a flag_ids entry server-side
departmentsstring[]NoDepartment names to resolve
department_idsstring[]NoDepartment UUIDs to assign
color_idsstring[]NoColor resource UUIDs
logins_idsstring[]NoLogins resource UUIDs to assign
system_idsstring[]NoSystem UUIDs to assign
mcp_idstringNoMCP resource UUID to assign (single)
threshold_idsstring[]NoThreshold UUIDs to assign
provider_key_idsstring[]NoProvider key UUIDs
auth_item_key_idsstring[]NoAuth item key UUIDs
auth_item_value_idsstring[]NoAuth item value UUIDs
auth_idsstring[]NoAuth resource UUIDs to assign
provider_idsstring[]NoProvider resource UUIDs to assign
provider_keysSettingProviderKeyDraftValue[]NoInline-creatable (provider × key) value entries; id=null requests server to resolve or create
auth_item_keysSettingAuthItemKeyDraftValue[]NoInline-creatable (auth × key) value entries
auth_item_valuesSettingAuthItemValueDraftValue[]NoInline-creatable (auth × item × value) entries
mcp_valuesSettingMcpDraftValue[]NoInline-creatable mcp value entries
system_valuesSettingSystemDraftValue[]NoInline-creatable systems_resource value entries
threshold_valuesSettingThresholdDraftValue[]NoPer-type threshold slider values; server finds or creates a row per (type, value) and swaps the matching type into threshold_ids
loginsSettingLoginDraftValue[]NoInline-creatable logins_resource value entries (auth or profile buttons)
pending_idsstring[]NoResource IDs to retain as pending inactive connections

Response (PatchSettingDraftApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the draft save succeeded
draft_idstringYesUUID of the saved draft
idempotency_keystringNoIdempotency key echoed back for client correlation
messagestringYesResult message
form_stateapp__infra__setting__types__DraftFormStateNoServer-authoritative form state
Last updated on