Export of stickers/icons
Function icons/export/ (<http://<DOMAIN>>/api/icons/export/)
Parameters:
token - authorization key obtained through the auth function
Response:
status - status of the function execution
OK - data exported
EMPTY - no data to export
response.icons - list of icons
response.icons[i].id - unique identifier of sticker/icon
response.icons[i].title - title of sticker/icon
response.icons[i].enabled - sticker/icon enabled
Query example http://<DOMAIN>/api/icons/export/ |
---|
{
"token": "43af1b7c04ec1372683baf4ef6152639"
} |
Response example |
---|
{
"status": "OK",
"response": {
"icons": [
{
"id": 1,
"title": "Bestseller",
"enabled": 1
},
{
"id": 3,
"title": "New",
"enabled": 1
},
{
"id": 4,
"title": "Sale",
"enabled": 1
},
{
"id": 5,
"title": "Discount value",
"enabled": 1
},
{
"id": 6,
"title": "Video",
"enabled": 1
},
{
"id": 7,
"title": "Promotion counter",
"enabled": 1
},
{
"id": 8,
"title": "Privatbank Payment by installments",
"enabled": 1
}
]
}
} |