{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Articles
/api/knowledgebase/articles/{articleId}/attachments
Resource-oriented WebAPI for readable and editable knowledge base articles.
The endpoint deliberately stages writable values in memory. A commit re-reads the article and applies only the values supplied by the request so that PUT and PATCH preserve fields omitted by the client.
GET /api/knowledgebase/articles/{articleId}/attachments
Returns attachment metadata without internal attachment identifiers. The attachments plugin is optional; an unavailable plugin is represented by an empty list.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
articleId |
path | string |
yes | article identifier from the route |
Response
| Status | Content Type | Schema | Description |
|---|---|---|---|
200 |
application/json |
array<AttachmentMetadata> |
safe attachment metadata |
Example Request
# Request
GET /api/knowledgebase/articles/<articleId>/attachments HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>
# Response
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"size": 0,
"name": "string",
"lastModified": 0,
"type": "string",
"embedded": true
}
]
Common Error Responses
The status codes 400, 403, 404, 405, 406, 409, 413, 415, and 500 use the same ApiError JSON error format:
{
"status": 404,
"code": "route_not_found",
"message": "The requested API route does not exist.",
"details": []
}
Schemas
Request and response schemas used on this page.
AttachmentMetadata
| Property | Type | Required | Description |
|---|---|---|---|
size |
number (int64) |
no | — |
name |
string |
no | — |
lastModified |
number (int64) |
no | — |
type |
string |
no | — |
embedded |
boolean |
no | — |
url |
string |
no | — |
ApiError
| Property | Type | Required | Description |
|---|---|---|---|
status |
integer (int32) |
yes | — |
code |
string |
yes | — |
message |
string |
yes | — |
details |
array<object> |
no | — |