Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.2.5
-
None
-
1
-
Severity 3 - Minor
-
2
-
Description
Problem Description
According to the REST API documentation for version 3.2.5, it should be possible to retrieve paged or paginated responses.
However, when requests are made in the following manner
curl http://crowd/crowd/rest/usermanagement/1/group/user/direct?groupname=jira-users&max-results=5&start-index=0\\
We only receive a JSON response containing the first 5 users; there is no isLastPage or nextPage information.
The documentation in this regard seems contradictory - in the section on Pagination, it says:
"Clients can use the limit and start query parameters to retrieve the desired number of results."
Additionally in the various method documentation, e.g. https://docs.atlassian.com/atlassian-crowd/3.2.5/REST/ it says that "max-results" and "start-index" will provide this function.
Action points
If this endpoint cannot return paginated data, then the documentation should be amended
Attachments
Issue Links
- blocks
-
KRAK-2489 Loading...