v1
latestOpenAPI 3.0.02026-08-06194226589.8 KBContents
Upsert a content item.
You can read the generated documentation for your app at /api/content/{appName}/docs.
post/api/content/{app}/{schema}/{id}
Path parameters
appstring required
The name of the app.
schemastring required
The name of the schema.
idstring required
The ID of the content item to update.
Query parameters
statusstring nullable
The initial status.
patchboolean
Makes the update as patch.
enrichDefaultsboolean
Enrich the content with defaults.
publishboolean
True to automatically publish the content.
Headers
X-Unpublishedboolean
Return unpublished content items.
X-Languagesstring
The list of languages to resolve (comma-separated).
Request body
ContentData required
Response
Content created or updated.