API Features
Pagination
The Maple API offers several list and search APIs that have a common structure that contains the requested list in a results
response object along with metadata that is useful for pagination in the pagination
response object that also contains the from_key
as the cursor that is customized based on the resource being requested.
All paginated calls require a limit
field with a maximum upper bound of 100 items per request. They also require a sort_key
to determine the desired sort order for objects returned. For example, a typical expectation is that results
are returned in reverse chronological order by using the createdAtDesc
option.