プロジェクト

全般

プロフィール

Vote #72693

完了

Add attachment information to issues.xml in REST API

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
119
issue_org_id:
12181
author_id:
4
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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


journals

Any news on that one? Are you planning to extend the REST API?
--------------------------------------------------------------------------------
This is a patch to trunk 11491

I would really appreciate if this could get into trunk.

Thanks
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン3.4.0_119 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0