Pagination

Search requests return paginated results.

The API "search" endpoints return a result set of objects matching the parameters of the search request. Rightsline utilizes offset pagination to dictate the number of objects returned in each request. Pagination is controlled using the following two request parameters: start, rows.

Parameters

Example: Search for catalog items with a template ID = 1 (paginated)

{
    "query": {
        	"$and": [
            {
                "$eq": [
                    "templateid",
                    1
                ]
            }
        ]
    },
    "start": 0,
    "rows": 100
}

Last updated