IntegrationsConfluenceActions
List Confluence attachments
List attachment metadata for a Confluence page. Never follows download or thumbnail redirects.
attachments.list · Confluence · v1
Details
Scopes
read:attachment:confluenceoffline_access
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
page_id | string | Yes | minLength 1; maxLength 64 |
cursor | string | No | minLength 1; maxLength 2048 |
page_size | integer | No | minimum 1; maximum 100 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
attachments | array<object> | Yes | maxItems 100 |
attachments[] | object | Yes | additionalProperties false |
attachments[].id | string | Yes | minLength 1; maxLength 64 |
attachments[].title | string | Yes | maxLength 512 |
attachments[].media_type | string | No | maxLength 255 |
attachments[].file_size | integer | No | minimum 0; maximum 1073741824 |
attachments[].status | string | No | minLength 1; maxLength 64 |
attachments[].created_at | string | No | maxLength 64 |
attachments[].updated_at | string | No | maxLength 64 |
attachments[].url | string | No | maxLength 2048 |
next_cursor | string | No | minLength 1; maxLength 2048 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"page_id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"page_id"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"attachments": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"title": {
"type": "string",
"maxLength": 512
},
"media_type": {
"type": "string",
"maxLength": 255
},
"file_size": {
"type": "integer",
"minimum": 0,
"maximum": 1073741824
},
"status": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"created_at": {
"type": "string",
"maxLength": 64
},
"updated_at": {
"type": "string",
"maxLength": 64
},
"url": {
"type": "string",
"maxLength": 2048
}
},
"required": [
"id",
"title"
]
},
"maxItems": 100
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"required": [
"attachments"
]
}