Back to Aligni.com

Retrieve the list of all attachments.

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

# response
<attachments>
  <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>
</attachments>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
page
optional

Fetch requested page.


Value: Must be a Integer
per_page
optional

Fetch a specific number of entries per page.


Value: Must be a Integer