{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "ContentUpdate", "type": "object", "properties": { "version": { "type": "object", "description": "The new version for the updated content. Set this to the current version number incremented by one, unless you are changing the status to 'draft' which must have a version number of 1.\n\nTo get the current version number, use [Get content by ID](#api-content-id-get) and retrieve `version.number`." }, "title": { "type": "string", "description": "The updated title of the content. If you are updating a non-draft `page` or `blogpost`, title is required. If you are not changing the title, set this field to the the current title." }, "type": { "type": "string", "description": "The type of content. Set this to the current type of the content. For example, - page - blogpost - comment - attachment" }, "status": { "type": "string", "description": "The updated status of the content. Note, if you change the status of a page from\n'current' to 'draft' and it has an existing draft, the existing draft will be deleted\nin favor of the updated page." }, "ancestors": { "type": "array", "description": "The new parent for the content. Only one parent content 'id' can be specified." }, "body": { "type": "object", "description": "The updated body of the content. Does not apply to attachments.\nIf you are not sure how to generate these formats, you can create a page in the\nConfluence application, retrieve the content using [Get content](#api-content-get),\nand expand the desired content format, e.g. `expand=body.storage`." } } }