This page is about an old version of Active Collab that's not developed anymore.
Click here to open the documentation for the latest version.

Shared Resource: Attachments

Many project items in activeCollab support file attachments (Tasks, Comments, Notebook Pages, etc). The commands listed in this article allow you to manage attachments in the context of the parent object.

About Attachments #

Attachment do not have any specific fields. All the data is read from your HTTP request (file name, size, MIME type, MD5 etc).

{context}/attachments #

This command displays all the files attached to the parent object.

Method: GET

Example response:

1
2
3
4
5
6
7
8
9
10
<attachments>
  <attachment>
    <id>6</id>
    <name>
      <![CDATA[API.txt]]>
    </name>
    ...
  </attachment>
  ...
</attachments>

{context}/attachments/:attachment_id #

This command displays downloads the specified attachment.

Method: GET