-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
None
-
Affects Version/s: 8.5.8
-
Component/s: Core - Content REST APIs
-
1
-
Severity 3 - Minor
Issue Summary
Requesting /rest/api/space with ?start parameter does not have the correct behavior
Steps to Reproduce
- Call the REST API: <BASE_URL>/rest/api/space?limit=1&start=xxxx
- Make sure that the value for the start parameter is greater than the total count in Confluence.
Expected Results
There is no result returned
Actual Results
The record for a space is returned
curl --location '<Base URL>/rest/api/space?limit=1&start=1400' \ --header 'Authorization: Basic xxxxxxxx' \ --header 'Cookie: JSESSIONID=xxxxxxxx' | jq -r '.results | length' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 604 0 604 0 0 911 0 --:--:-- --:--:-- --:--:-- 911 1
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- duplicates
-
CONFSERVER-95272 REST API pagination (eg, /rest/api/space) returns more data than available
-
- Closed
-