In the confluence search REST API (/wiki/rest/api/search), the totalSize is coming incorrect if the totalSize is > page size
Steps to Reproduce
https://api.atlassian.com/ex/confluence/{cloud-id}/wiki/rest/api/search?cql=
Expected Results
The value of the “totalSize” key matches the total number of contents.
Actual Result
Returns number same as page size
Same has been reported here
https://jira.atlassian.com/browse/CONFCLOUD-76861