API Reference
Log In
API Reference

Pagination

When requesting data, Greenspark will paginate the returned data if it is too large. When an endpoint supports pagination, you can expect the cursor and reportId properties to be present within the response object.

For example:

"cursor": "BE4W76KZQMAQAAASA4EAAEEAQCAAKGQEBBSBAZBAWCXBK===",
"reportId": "6491021c-69e6-41de-b049-fbe127afe710"

With these two properties you can iterate through the generated report. When the cursor property becomes null, it indicates that no more pages are left in the report. Please note that once a report is paginated you are not able to filter it further.