This operation lists the attachments associated with an entity.
The application must have the 'read' permission granted from the Planzone.
The attached entity must be in a project that is visible by the user.
The attachment file must be in a folder that is visible by the user.
| Name | Optional | Description |
|---|---|---|
| entity | NO | List the attachments which are associated with the given entities. The parameter defines a list of todo GUID separated by a comma (,). At least one todo must be defined. |
The following request:
lists the attachments of the todo B23DC.
The response contains one attachment XML element for each attachment.
The type attributes indicates the type of the document attached to the entity:
For a wiki attachment, a wiki attribute indicates the unique id of the wiki page. The content of the wiki page must be retrieved through the wiki API call.
For other type of attachments, a document attribute indicates the unique id of the document.
The width, height XML elements are provided only if the attachment is an image.
The url is an URL that can be used to download, preview or upload a new version of the attachment. This URL is valid only 24 hours. The desired action are made by appending the following prefix to that URL:
The url element is not present if the attachment is a wiki page, a Google Document, or the document has no version yet.
| 200 | OK | Operation succeeded |
todos
attachments/create
attachment XML element
wiki