Project

General

Profile

Actions

Patch #22356

closed

Add support for updating attachments over REST API

Patch #22356: Add support for updating attachments over REST API

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

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:

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

Updated by Toshi MARUYAMA over 10 years ago Actions #1

Please add tests like #14828#note-6.

Updated by Toshi MARUYAMA over 10 years ago Actions #2

  • Description updated (diff)

Updated by Oliver Luethi over 10 years ago Actions #3

Toshi MARUYAMA wrote:

Please add tests like #14828#note-6.

Added a new patch with test

Updated by Toshi MARUYAMA over 10 years ago Actions #4

  • Target version set to 3.4.0

Updated by Jean-Philippe Lang about 10 years ago Actions #5

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.

Updated by Jean-Philippe Lang about 10 years ago Actions #6

  • 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: PDF Atom