Defect #14703
closedRedmine rest API does not list all projects
0%
Description
We have about 40 projects in redmine, organised hierarchically. And for some reason REST API call /projects.json returns only part of all projects.
We have 5 root projects and return list included only subprojects of first root.
Updated by Oleksandr Melnyk over 11 years ago
Then I created some common root project. And started to move other projects under it, once I moved 1 root project, the API started returned all subprojects from second root and so on. When I moved all projects under single root, it aggain started return projects as from start (1 sub root).
Updated by Oleksandr Melnyk over 11 years ago
Environment:
Redmine version 2.2.4.stable.11804
Ruby version 1.9.2 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter PostgreSQL
Redmine plugins:
redmine_issue_checklist 2.0.5
redmine_lightbox 0.0.1
redmine_wktime 1.5
Updated by Go MAEDA almost 8 years ago
- Category set to REST API
- Priority changed from High to Normal
Updated by Himanshu Upadhyaya over 7 years ago
I have the same issue. I have 70 projects in total. 5 projects at root level and one of these 5 projects have 65 subprojects. All I want is a list of 65 subprojects in API response. I'm still trying to understand how can I request the details of only one projects and I'm hoping if I was able to do that, I'll hopefully get the list of all subprojects.
Updated by James Harris almost 2 years ago
Experimenting with REST API I experienced a similar problem and ended up here.
In my case I could see only 25 projects.
The underlying cause is the overall result limit that can be specified with the "limit" parameter.
e.g.
/projects.json?limit=100
will return up to 100 projects that are accessible by the user.
I think this issue can be closed (rejected?).
Updated by Go MAEDA almost 2 years ago
- Status changed from New to Closed
- Resolution set to Cant reproduce