Add fields using a PUT operation
You can use a PUT request to rewrite an entire schema and configure the fields you want to include under allOf.
API format
| Parameter | Description |
|---|---|
{SCHEMA_ID} | The meta:altId or URL-encoded $id of the schema you want to rewrite. |
Request
The following request updates the specific fields included from the field group under the allOf array.
Response
A successful response returns the details of the updated schema.
Add fields using a PATCH operation
You can use a PATCH request to add individual fields to a schema without overwriting others. The Schema Registry supports all standard JSON Patch operations, including add, remove, and replace. For more information on JSON Patch, see the API fundamentals guide.
API format
| Parameter | Description |
|---|---|
{SCHEMA_ID} | The meta:altId or URL-encoded $id of the schema you want to rewrite. |
Request
The following request adds a new object to the schema’s allOf array, specifying fields to be added.
Response
A successful response returns the details of the updated schema.
Next steps
This guide covered how to use API calls to add individual fields from an existing field group to a schema. For details on how to perform similar field-based tasks in the Experience Platform UI, see the guide on field-based workflows.
For more information on the capabilities of the Schema Registry API, refer to the API overview for a full list of endpoints and processes.
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAgentic AI Roadmap Webinar - Americas & EMEA
Preview the Agentic AI roadmap, see Agent Orchestrator in action, and ask the team.
Agentic AI Roadmap Webinar - Americas & APAC
Preview the Agentic AI roadmap, see Agent Orchestrator in action, and ask the team.
Adobe Experience Platform + Apps Roadmap Webinar - Americas & EMEA
Preview the Experience Platform and Apps roadmap and ask the product team questions.