Skip to content

Get Article Attachment By ID

Request

Overview

This API allows one article attachment identified by an attachment ID to be retrieved.

Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.de...
)
Path
attachmentIDstring, [ 7 .. 20 ] characters^[a-zA-Z0-9]{2,4}-\d{4,15}$required

The ID of the attachment.

An attachment ID is composed of a 2-4 letter prefix, followed by a dash and 4-15 digits.

Example:PROD-1000
Headers
Accept-Languagestringrequired

The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).

Enum:"en-US""es-ES""fr-FR""it-IT""de-DE""nl-NL""pt-BR""pt-PT""da-DK""ru-RU"
Example:en-US
GET
/articles/attachments/{attachmentID}
curl -i -X GET \
  https://api.egain.cloud/knowledge/portalmgr/v4/articles/attachments/PROD-1000 \
  -H 'Accept-Language: en-US' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
attachmentContentArray of objects, = 1 items(AttachmentContent)
Response
{ "attachmentContent": [ {} ] }