Vote #77329
完了Add support for updating attachments over REST API
0%
説明
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.
--------------------------------------------------------------------------------