Pagination
The pagination support is built on top of the HATEOAS (Hypermedia as the Engine of Application State) principle, that uses hypermedia links in the API response contents. It allows the client to dynamically navigate to the appropriate resources by traversing the hypermedia links.
Navigating hypermedia links is conceptually the same as browsing through web pages by clicking previous or next page hyperlinks to achieve a final goal.
Below a sample of the model returned as a top level attributes for any API response that returns a list of objects.
PaginatedArray:title: Paginated Arraydescription: Base class for results that may be paginatedtype: objectproperties:page:nextOffset:type: stringdescription: Opaque identifier. Does not need to be numeric or have any specific pattern.Implementation specificprevOffset:type: stringdescription: Opaque identifier. Does not need to be numeric or have any specific pattern.Implementation specifictotalElements:type: integerdescription: Total number of elementslinks:description: Resource URLs for navigating result setsnext:href:type: stringformat: uri-referencedescription: URL to invoke the action on the resourceaction:type: stringdescription: HTTP Method to use for the requestrel:description: Relation of this link to its containing entitytype: stringtypes:type: arrayitems:type: stringdescription: Content-types that can be used in the Accept headerprev:href:type: stringformat: uri-referencedescription: URL to invoke the action on the resourceaction:type: stringdescription: HTTP Method to use for the requestrel:description: Relation of this link to its containing entitytype: stringtypes:type: arrayitems:type: stringdescription: Content-types that can be used in the Accept header
For more information about our APIs please refer to our API Reference