Properties
| Name | Type | Description |
|---|---|---|
| copyAttachments | boolean | If set to `true`, attachments are copied to the destination page. |
| copyPermissions | boolean | If set to `true`, page permissions are copied to the destination page. |
| copyProperties | boolean | If set to `true`, content properties are copied to the destination page. |
| copyLabels | boolean | If set to `true`, labels are copied to the destination page. |
| copyCustomContents | boolean | If set to `true`, custom contents are copied to the destination page. |
| destination | object | |
| pageTitle | string | If defined, this will replace the title of the destination page. |
| body | object | If defined, this will replace the body of the destination page. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CopyPageRequest",
"title": "CopyPageRequest",
"required": [
"destination"
],
"type": "object",
"properties": {
"copyAttachments": {
"type": "boolean",
"description": "If set to `true`, attachments are copied to the destination page.",
"default": false,
"example": true
},
"copyPermissions": {
"type": "boolean",
"description": "If set to `true`, page permissions are copied to the destination page.",
"default": false,
"example": true
},
"copyProperties": {
"type": "boolean",
"description": "If set to `true`, content properties are copied to the destination page.",
"default": false,
"example": true
},
"copyLabels": {
"type": "boolean",
"description": "If set to `true`, labels are copied to the destination page.",
"default": false,
"example": true
},
"copyCustomContents": {
"type": "boolean",
"description": "If set to `true`, custom contents are copied to the destination page.",
"default": false,
"example": true
},
"destination": {
"$ref": "#/components/schemas/CopyPageRequestDestination"
},
"pageTitle": {
"type": "string",
"description": "If defined, this will replace the title of the destination page.",
"example": "example_value"
},
"body": {
"type": "object",
"properties": {
"storage": {
"$ref": "#/components/schemas/ContentBodyCreate"
},
"editor2": {
"$ref": "#/components/schemas/ContentBodyCreate"
}
},
"description": "If defined, this will replace the body of the destination page.",
"example": "example_value"
}
}
}