Skip to main content
Version: 6.1.0

SysGetPageOffset

Retrieves previous or next pages after having called the SysGetPage method. Like SysGetPage, this bypasses ownership and ACL checks.

This call is available via Cloud Code and S2S.

ServiceOperation
globalEntitySYS_GET_PAGE_OFFSET

Method Parameters​

ParameterDescription
contextThe context string returned from the server from a previous call to SysGetPage or SysGetPageOffset
pageOffsetThe positive or negative page offset to fetch. Uses the last page retrieved using the context string to determine a starting point.

Usage​

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"_serverTime": 1761926400000,
"context": "eyJzZWFyY2hDcml0ZXJpYSI6eyJlbnRpdHlUeXBlIjoiYWRkcmVzcyIsImdhbWVJZCI6IjEyMzQ1NiJ9",
"results": {
"count": 120,
"page": 2,
"items": [
{
"gameId": "123456",
"entityId": "14281c38-abf6-4ca2-8436-b2bd3a8d5a9a",
"ownerId": "784cc6c6-4569-4d75-bd10-62dc8ae0218a",
"entityType": "address",
"entityIndexedId": "home",
"version": 1,
"data": {
"street": "1309 Carling"
},
"acl": {
"other": 0
},
"timeToLive": 0,
"expiresAt": 9223372036854775807,
"createdAt": 1449861388021,
"updatedAt": 1449861388021
}
],
"moreAfter": true,
"moreBefore": true
}
},
"status": 200
}