Projects REST API doesn't return the archived projects
Added by Benoit Duffez almost 12 years ago
I'm using the REST API to access the server data, including of course projects.
I'm retrieving the project list with /path/to/redmine/projects.json?key=abcdef...
The JSON I get contains all the non-archived projects.
Would it be possible to retrieve ALL the projects? and of course have a status flag indicating whether the project is archived or not.
I'm using Redmine 2.2.2 on a Linux x64 server running ruby 1.9.2p0, rails 3.2.11
Thanks
Benoit
Replies (2)
RE: Projects REST API doesn't return the archived projects
-
Added by Jean-Baptiste Barth almost 12 years ago
Currently there's no way to do that through the API if I understand the code correctly. Maybe worth a feature request if you want (try to search if there's an existing one before creating a new one)
RE: Projects REST API doesn't return the archived projects
-
Added by Benoit Duffez almost 12 years ago
Right, thanks for your quick support.