Feature #8545
closed"get projects" REST API response should handle "include=trackers" parameter
0%
Description
http://myserver:3000/projects.xml?limit=25&offset=0&include=trackers
- this returns list of projects without trackers
is this intended? maybe the REST API can add some comment to the response like "your xxx parameter was ignored because..."
Files
Related issues
Updated by Etienne Massip over 13 years ago
- Tracker changed from Defect to Feature
It's not handled.
Updated by Etienne Massip over 13 years ago
- Subject changed from "get projects" REST API response ignores "include=trackers" parameter to "get projects" REST API response should handle "include=trackers" parameter
- Target version set to Candidate for next major release
Updated by Alex Last almost 13 years ago
can we include this into Redmine 1.3.1?
Updated by Preethi Sriram almost 13 years ago
- File IncludeTracker.diff IncludeTracker.diff added
Patch is attached to include trackers in get projects api
Test-
http://myserver:3000/projects.xml?limit=25&offset=0&include=trackers
will include tracker information for each project.
Updated by Jean-Baptiste Barth over 10 years ago
- Assignee set to Jean-Baptiste Barth
Do you have a use case where it's useful to get trackers for all projects ? If there are valid use cases I can commit the patch but it needs some tests first.
Fwiw the information can already be retrieved for a single project with the exact same parameter.
Updated by Jan from Planio www.plan.io over 10 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
IMHO this can be closed since #17602 is now merged and implements this (as well as for enabled modules).
Updated by Jan from Planio www.plan.io over 10 years ago
- Is duplicate of Patch #17602: Include enabled modules in projects API added
Updated by Etienne Massip over 10 years ago
- Target version deleted (
Candidate for next major release)
Updated by Jean-Baptiste Barth over 10 years ago
Oh yes you're right Jan, it's now even on project#index ! As long as it's optionnal it seems OK to me, I updated the docs accordingly.
Updated by Alex Last over 10 years ago
what is the minimum Redmine version that has this change?
Updated by Jean-Baptiste Barth over 10 years ago
The field is already accessible for a specific project for a long time (GET /projects/:id
) but in the projects list (GET /projects
) it's only on the svn trunk for now. It will be included in Redmine 2.6.0 which isn't out yet.