To handle the large size of reports generated by our API, the response for the GET /reports/posts/:id endpoint is paginated. This ensures efficient data transfer and easier client-side handling.
Default Behavior
When calling the GET /reports/posts/:id endpoint without specifying a page parameter, the API will return the first page of results by default.
Retrieving Additional Pages
Each response includes a response_metadata array, which contains an object that contains a next_page guid value. To fetch subsequent pages:
- Extract the
next_pagevalue from theresponse_metadataarray. - Use this value as the
pageparameter in your next request to the same endpoint. - Repeat this process until the
next_pagevalue isnull, which indicates there are no more pages.
