Back to Aligni.com

Retrieve one particular attachment by its id.

BETA API: This API is beta and is subject to change without notice.

Examples

# request
curl -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/attachments/5
# response
<?xml version="1.0" encoding="UTF-8"?>
<attachment>
  <id>600</id>
  <created_by>username</created_by>
  <title>part_image.png</title>
  <note_type>File</note_type>
  <content_type>text/csv</content_type>
  <position>1</position>
  <published_at></published_at>
  <md5></md5>
  <file_size>256</file_size>
  <parent_reference>/part/3</parent_reference>
</attachment>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a Integer