IntegrationsConfluenceActions
List Confluence content ancestors
List Confluence page or folder ancestors for hierarchy and restriction walks. Uses continue_from when page_size is reached instead of fabricating a cursor.
content.ancestors.list · Confluence · v1
Details
Scopes
read:content.metadata:confluenceoffline_access
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
content_type | string | Yes | enum page | folder |
content_id | string | Yes | minLength 1; maxLength 64 |
page_size | integer | No | minimum 1; maximum 100 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
ancestors | array<object> | Yes | maxItems 100 |
ancestors[] | object | Yes | additionalProperties false |
ancestors[].id | string | Yes | minLength 1; maxLength 64 |
ancestors[].type | string | Yes | enum page | folder |
ancestors[].title | string | No | maxLength 512 |
continue_from | object | No | additionalProperties false |
continue_from.content_type | string | Yes | enum page | folder |
continue_from.content_id | string | Yes | minLength 1; maxLength 64 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"content_type": {
"type": "string",
"enum": [
"page",
"folder"
]
},
"content_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"content_type",
"content_id"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"ancestors": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"type": {
"type": "string",
"enum": [
"page",
"folder"
]
},
"title": {
"type": "string",
"maxLength": 512
}
},
"required": [
"id",
"type"
]
},
"maxItems": 100
},
"continue_from": {
"type": "object",
"additionalProperties": false,
"properties": {
"content_type": {
"type": "string",
"enum": [
"page",
"folder"
]
},
"content_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"content_type",
"content_id"
]
}
},
"required": [
"ancestors"
]
}