Skip to main content
PATCH
Requires scope: api:org-config Always opens a new pending request targeting the next version — never mutates an active version in place. Editing an already-active subtype defaults any field you omit to what’s currently active, so the reviewer sees a complete proposed spec even from a partial edit.

Parameters

str
required
Subtype to propose a change for.
str | None
default:"None"
New description, if changing it.
list[dict] | None
default:"None"
Replacement sample payloads.
dict | None
default:"None"
New JSON Schema, if changing it.
dict | None
default:"None"
New mapping spec, if changing it.

Returns

SchemaRegistrationResult
str
Id of the (possibly reused) registration.
str
The edited subtype.
int
Version this edit proposes.
str
“full_spec” once both a schema and a mapping are known (yours, or inherited from the active version), else “assisted”.
str
“pending_review”.
dict | None
Dry-run result, populated when submission_mode is full_spec and examples are present.

Raises