Project

General

Profile

Actions

Feature #20404

closed

REST API support for project files (attachments)

Added by Heiko Robert over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

The files tab is a nice mechanism to provide any compiled artefacts by version. Unfortunately there is no REST-API support for at least downloadig (uploading would be perfect). e.g.

file list in that project from version_Id=3

GET /projects/redmine/files?version_id=3

get file with id
GET /projects/redmine/files/123

get file with name
GET /projects/redmine/files/redmine.jar

get file with name from version
GET /projects/redmine/files/redmine.jar?version_id=3


Related issues

Is duplicate of Redmine - Feature #7725: REST API for filesClosed2011-02-25

Actions
Actions #1

Updated by Heiko Robert over 9 years ago

Maybe easier to implement to reuse the logic from the page:

GET /projects/redmine/files.xml

GET /projects/redmine/files.xml?version_id=123

Actions #2

Updated by Mischa The Evil over 9 years ago

Actions #3

Updated by Mischa The Evil over 9 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Closing as a duplicate of #7725. See also its related issues #13800 and #19116.

Actions

Also available in: Atom PDF