Essentials
Common Conventions
A reference for common patterns in payloads and responses.
Versioning
We support path-based and header-based versioning. In the event that they conflict, path-based versioning will prevail.
Wrapped Responses
All responses return an object with status
, code
, and data
fields.
4xx & 5xx responses also return a message
field.
Pagination
All lists are returned as an array of items
, with a pagination
object and _links
that follow the HAL linking strategy.
Query Parameters
All GET MANY
routes support the following query parameters:
Name | Description |
---|---|
page | The page number you want to retrieve from the paginated results |
limit | The maximum number of records to return per page |
q | A search term to filter results by matching text |
sort | A comma-separated list of fields to sort the results by |
include | A urlencoded list of related objects to include with expanded data (defaults to 1 level deep) |
filters | A urlencoded list of field criteria to filter the results by |
Was this page helpful?