Offset
offset specifies the number of results that will be skipped. For instance, to retrieve the first 10 results, offset must be set to 0 and limit to 10. To retrieve the next 10 results, offset must be set to 10 and limit to 10.
offset is specified as a numeric integer value.
"offset": 10
offset Examples
Assuming there is 1 image per year since the year 1870:
[ {
"FindImage": {
"constraints" : {
"year_captured": [ ">=", 1870 ]
},
"sort": "year_captured",
"limit": 5,
"offset": 10,
"results": {
"list": ["year_caputured"]
}
}
}]
# Response:
[ {
"FindImage": {
"entities": [
{
"year_captured": 1875
},
{
"year_captured": 1876
},
{
"year_captured": 1877
},
{
"year_captured": 1878
},
{
"year_captured": 1879
}
]
}
}]