apostrophe-headless
apostrophe-headless copied to clipboard
Response should come with `currentPage` if pagination is in play
Should you want to implement your own pagination it would be nice to know what 'page' response you've just received. Right now a request to pieces index only returns.
{
total: 96,
pages: 2,
perPage: 50,
results: [...]
}