Project

General

Profile

Actions

Feature #12181

closed

Add attachment information to issues.xml in REST API

Added by Anonymous about 12 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
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

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

Updated by Anonymous almost 12 years ago

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

Actions #2

Updated by Anonymous over 11 years ago

This is a patch to trunk 11491

I would really appreciate if this could get into trunk.

Thanks

Actions #3

Updated by Jean-Philippe Lang over 7 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
Actions #4

Updated by Toshi MARUYAMA over 7 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF