Search documentation
karat

+

K

User Documentation ↗

Get Attachment Content

GET/api/v2/ontologies/attachments/{attachmentRid}/content

Get the content of an attachment.

Third-party applications using this endpoint via OAuth2 must request the following operation scopes: api:ontologies-read.

Path parameters

attachmentRid
string

The RID of the attachment.

Response body

body
string

Success response.

Examples

Request

Copied!
1 2 3 curl \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/ontologies/attachments/ri.attachments.main.attachment.bb32154e-e043-4b00-9461-93136ca96b6f/content"