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": "Хит", "enabled": 1 }, { "id": 3, "title": "Новинка", "enabled": 1 }, { "id": 4, "title": "Распродажа", "enabled": 1 }, { "id": 5, "title": "Размер скидки", "enabled": 1 }, { "id": 6, "title": "Видео", "enabled": 1 }, { "id": 7, "title": "Счетчик акции", "enabled": 1 }, { "id": 8, "title": "«Оплата частями» ПриватБанка", "enabled": 1 } ] } } |
0 Comments