Atlassian · Schema

CopyPageRequestDestination

Defines where the page will be copied to, and can be one of the following types. - `parent_page`: page will be copied as a child of the specified parent page - `space`: page will be copied to the specified space as a root page on the space - `existing_page`: page will be copied and replace the specified page

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
type string
value string The space key for `space` type, and content id for `parent_page` and `existing_page`
View JSON Schema on GitHub

JSON Schema

atlassian-copypagerequestdestination-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CopyPageRequestDestination",
  "title": "CopyPageRequestDestination",
  "required": [
    "type",
    "value"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "space",
        "existing_page",
        "parent_page"
      ],
      "example": "space"
    },
    "value": {
      "type": "string",
      "description": "The space key for `space` type, and content id for `parent_page` and `existing_page`",
      "example": "example_value"
    }
  },
  "description": "Defines where the page will be copied to, and can be one of the following types.\n\n  - `parent_page`: page will be copied as a child of the specified parent page\n  - `space`: page will be copied to the specified space as a root page on the space\n  - `existing_page`: page will be copied and replace the specified page"
}