プロジェクト

全般

プロフィール

Vote #77329

完了

Add support for updating attachments over REST API

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

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

説明

Adds the support for updating issue attachments over REST-API

  • granted permissions for update function
  • added format.api response for REST-API calls

journals

Please add tests like #14828#note-6.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Toshi MARUYAMA wrote:
> Please add tests like #14828#note-6.

Added a new patch with test
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I know that the UI offers a convenient way to update all the attachments of an issue at once but the REST API should not work this way. The ressource here is the attachment and just like we support @GET /attachments/:id.json@ or @DELETE /attachments/:id.json@, we should implement @PATCH /attachments/:id.json@ to update an attachment.
--------------------------------------------------------------------------------
Feature added in r15861.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0