Actions
Feature #12181
closedAdd attachment information to issues.xml in REST API
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
It would be very handy to include the attachments information to the issues.xml in the REST API
Same is already implemented for relations (issues.xml?include=relations
)
Idea is to implement something like
api.array :attachments do
issue.attachments.each do |attachment|
render_api_attachment(attachment, api)
end
end if include_in_api_response?('attachments')
In the index.api.rsb file. Include attachements with issues.xml?include=attachments
Thanks
Files
Actions