Feature #12181

Add attachment information to issues.xml in REST API

Added by Anonymous almost 5 years ago. Updated 5 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% 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

index.api.rsb.patch Magnifier (720 Bytes) Anonymous, 2013-02-28 13:22

Associated revisions

Revision 16360
Added by Jean-Philippe Lang 6 months ago

Add attachment information to issues.xml in REST API (#12181).

History

#1 Updated by Anonymous over 4 years ago

Any news on that one? Are you planning to extend the REST API?

#2 Updated by Anonymous over 4 years ago

This is a patch to trunk 11491

I would really appreciate if this could get into trunk.

Thanks

#3 Updated by Jean-Philippe Lang 6 months 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 5 months ago

  • Description updated (diff)

Also available in: Atom PDF