Project

General

Profile

Actions

Patch #22356

closed

Add support for updating attachments over REST API

Added by Oliver Luethi over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Adds the support for updating issue attachments over REST-API
  • granted permissions for update function
  • added format.api response for REST-API calls

Files

Actions #1

Updated by Toshi MARUYAMA over 8 years ago

Please add tests like #14828#note-6.

Actions #2

Updated by Toshi MARUYAMA over 8 years ago

  • Description updated (diff)
Actions #3

Updated by Oliver Luethi over 8 years ago

Toshi MARUYAMA wrote:

Please add tests like #14828#note-6.

Added a new patch with test

Actions #4

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 3.4.0
Actions #5

Updated by Jean-Philippe Lang about 8 years ago

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.

Actions #6

Updated by Jean-Philippe Lang about 8 years ago

  • Subject changed from Add support for updating issue attachments over REST-API to Add support for updating attachments over REST API
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Feature added in r15861.

Actions

Also available in: Atom PDF