Details
-
Bug
-
Resolution: Unresolved
-
Low
-
8.9.0, 7.19.21, 8.5.8
-
16
-
Severity 2 - Major
-
35
-
Description
Issue Summary
This issue relates to general paginated results.
Requesting data from an endpoint such as /rest/api/space or rest/api/content causes Confluence to return more data than available.
This is reproducible on Data Center: yes
Steps to Reproduce
- Request /rest/api/space to collect all of the spaces available without using ?expand parameter;
- Verify that Confluence returns the exact amount of spaces that exist in the instance;
- Now add the ?expand parameter, for example:
Expected Results
Using ?expand produces the same array as without it, except that it expands the required fields.
Actual Results
Using ?expand causes Confluence to keep returning data past the available amount, which breaks apps that loop through the resulting array.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- is duplicated by
-
CONFSERVER-95396 Confluence REST API Pagination Issue: Inconsistencies in Pagination Functionality
- Closed
-
CONFSERVER-95312 REST API endpoint api/space doesn't respect 'start' parameter
- Closed
- follows
-
VULN-1266006 Loading...
- mentioned in
-
Page Loading...