As per this page, making an API request that returns XML will also return page data;
"Xml data will also include pagination details in the response body"
And that's correct, as it does.
But why does a json request not return this paging data?
This returns paging info;
but this does not;