Skip to main content
Version: 5.7.0

SysGetCatalogItemsPage

Retrieves page of catalog items from the server, with full language fields mappings.

ServiceOperation
itemCatalogSYS_GET_CATALOG_ITEMS_PAGE

Method Parameters

ParameterDescription
contextThe json context for the page request.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"context": "eyJzZWFyY2hDcml0ZXJpYSI6eyJnYW1lSWQiOiIyMzQwMyJ9LCJzb3J0Q3JpdGVyaWEiOnsiY3JlYXRlZEF0IjoxLCJ1cGRhdGVkQXQiOi0xfSwicGFnaW5hdGlvbiI6eyJyb3dzUGVyUGFnZSI6MSwicGFnZU51bWJlciI6MSwiZG9Db3VudCI6dHJ1ZX0sIm9wdGlvbnMiOm51bGx9",
"results": {
"count": 7,
"page": 1,
"items": [
{
"defId": "medal_bronze_1",
"name": "Small Bronze Medal",
"desc": "",
"type": "ITEM",
"category": "collectable",
"tags": [
"medal"
],
"buyPrice": {
"coins": 2000
},
"sellPrice": {
"coins": 200
},
"image": "https://api.braincloudservers.com/files/portal/g/23403/metadata/itemDefinitions/medal_bronze_1.png",
"resourceGroup": null,
"resourceTag": null,
"meta": {
"level": "bronze"
},
"initData": {
"exp": 0
},
"pState": "PUBLISHED",
"publishedAt": 1566584361752,
"createdAt": 1566584032523,
"updatedAt": 1566584437921,
"version": 4,
"stackable": true,
"consumable": false,
"uses": null,
"coolDownSecs": 0,
"recoverySecs": 0,
"activatable": false,
"statusName": null,
"activeSecs": null,
"tradable": false,
"blockchain": false,
"blockchainDefId": null
}
],
"moreAfter": true,
"moreBefore": false
}
},
"status": 200
}