Properties
| Name | Type | Description |
|---|---|---|
| version | object | 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. To get the curr |
| title | string | 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 | string | The type of content. Set this to the current type of the content. For example, - page - blogpost - comment - attachment |
| status | string | The updated status of the content. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated page. |
| ancestors | array | The new parent for the content. Only one parent content 'id' can be specified. |
| body | object | The updated body of the content. Does not apply to attachments. If you are not sure how to generate these formats, you can create a page in the Confluence application, retrieve the content using [Get |
JSON Schema
{
"$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`."
}
}
}