Atlassian · Schema
Content
Base object for all content types.
CodeCollaborationPlatformProductivitySoftware Development
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| type | string | Can be "page", "blogpost", "attachment" or "content" |
| status | string | |
| title | string | |
| space | object | |
| history | object | |
| version | object | |
| ancestors | array | |
| operations | array | |
| children | object | |
| childTypes | object | |
| descendants | object | |
| container | object | |
| body | object | |
| restrictions | object | |
| metadata | object | |
| macroRenderedOutput | object | |
| extensions | object | |
| _expandable | object | |
| _links | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Content",
"title": "Content",
"required": [
"status",
"type"
],
"nullable": true,
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"type": "string",
"example": "abc123"
},
"type": {
"type": "string",
"description": "Can be \"page\", \"blogpost\", \"attachment\" or \"content\"",
"example": "example_value"
},
"status": {
"type": "string",
"example": "example_value"
},
"title": {
"type": "string",
"example": "Example Title"
},
"space": {
"$ref": "#/components/schemas/Space"
},
"history": {
"$ref": "#/components/schemas/ContentHistory"
},
"version": {
"$ref": "#/components/schemas/Version"
},
"ancestors": {
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/Content"
},
"example": []
},
"operations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OperationCheckResult"
},
"example": []
},
"children": {
"$ref": "#/components/schemas/ContentChildren"
},
"childTypes": {
"$ref": "#/components/schemas/ContentChildType"
},
"descendants": {
"$ref": "#/components/schemas/ContentChildren"
},
"container": {
"$ref": "#/components/schemas/Container"
},
"body": {
"type": "object",
"properties": {
"view": {
"$ref": "#/components/schemas/ContentBody"
},
"export_view": {
"$ref": "#/components/schemas/ContentBody"
},
"styled_view": {
"$ref": "#/components/schemas/ContentBody"
},
"storage": {
"$ref": "#/components/schemas/ContentBody"
},
"wiki": {
"$ref": "#/components/schemas/ContentBody"
},
"editor": {
"$ref": "#/components/schemas/ContentBody"
},
"editor2": {
"$ref": "#/components/schemas/ContentBody"
},
"anonymous_export_view": {
"$ref": "#/components/schemas/ContentBody"
},
"atlas_doc_format": {
"$ref": "#/components/schemas/ContentBody"
},
"dynamic": {
"$ref": "#/components/schemas/ContentBody"
},
"raw": {
"$ref": "#/components/schemas/ContentBody"
},
"_expandable": {
"type": "object",
"properties": {
"editor": {
"type": "string"
},
"view": {
"type": "string"
},
"export_view": {
"type": "string"
},
"styled_view": {
"type": "string"
},
"storage": {
"type": "string"
},
"editor2": {
"type": "string"
},
"anonymous_export_view": {
"type": "string"
},
"atlas_doc_format": {
"type": "string"
},
"wiki": {
"type": "string"
},
"dynamic": {
"type": "string"
},
"raw": {
"type": "string"
}
}
}
},
"example": "example_value"
},
"restrictions": {
"type": "object",
"properties": {
"read": {
"$ref": "#/components/schemas/ContentRestriction"
},
"update": {
"$ref": "#/components/schemas/ContentRestriction"
},
"_expandable": {
"type": "object",
"properties": {
"read": {
"type": "string"
},
"update": {
"type": "string"
}
}
},
"_links": {
"$ref": "#/components/schemas/GenericLinks"
}
},
"example": "example_value"
},
"metadata": {
"$ref": "#/components/schemas/ContentMetadata"
},
"macroRenderedOutput": {
"type": "object",
"additionalProperties": {
"type": "object"
},
"example": "example_value"
},
"extensions": {
"type": "object",
"example": "example_value"
},
"_expandable": {
"type": "object",
"properties": {
"childTypes": {
"type": "string"
},
"container": {
"type": "string"
},
"metadata": {
"type": "string"
},
"operations": {
"type": "string"
},
"children": {
"type": "string"
},
"restrictions": {
"type": "string"
},
"history": {
"type": "string"
},
"ancestors": {
"type": "string"
},
"body": {
"type": "string"
},
"version": {
"type": "string"
},
"descendants": {
"type": "string"
},
"space": {
"type": "string"
},
"extensions": {
"type": "string"
},
"schedulePublishDate": {
"type": "string"
},
"schedulePublishInfo": {
"type": "string"
},
"macroRenderedOutput": {
"type": "string"
}
},
"example": "example_value"
},
"_links": {
"$ref": "#/components/schemas/GenericLinks"
}
},
"description": "Base object for all content types."
}