Feature #12181
Add attachment information to issues.xml in REST API
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | REST API | |||
Target version: | 3.4.0 | |||
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
Associated revisions
Add attachment information to issues.xml in REST API (#12181).
History
#1 Updated by Anonymous about 10 years ago
Any news on that one? Are you planning to extend the REST API?
#2 Updated by Anonymous almost 10 years ago
- File index.api.rsb.patch
added
This is a patch to trunk 11491
I would really appreciate if this could get into trunk.
Thanks
#3
Updated by Jean-Philippe Lang almost 6 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 3.4.0
- Resolution set to Fixed
#4
Updated by Toshi MARUYAMA almost 6 years ago
- Description updated (diff)