Rest Attachments » History » Version 2

« Previous - Version 2/5 (diff) - Next » - Current version
Jean-Philippe Lang, 2012-04-11 19:30


To attach files though the API, please see Attaching files in general topics.



Returns the description of the attachment of given id.
The file can actually be downloaded at the URL given by the content_url attribute in the response.


GET /attachments/13.xml


  <description>This is an attachment</description>
  <author name="Jean-Philippe Lang" id="1"/>

Note: when getting an issue through the API, its attachments can also be retrieved in a single request using GET /issues/:id.:format?include=attachments.