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

Parameter
Type
Default
Description
start
int
0
The zero-based index offset of the first object in the result set.
rows
int
100
The number of objects to return in the result set.

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

1
{
2
"query": {
3
"$and": [
4
{
5
"$eq": [
6
"templateid",
7
1
8
]
9
}
10
]
11
},
12
"start": 0,
13
"rows": 100
14
}
Copied!
Copy link
Contents
Parameters