Description

Query changes in Categories data.

URI

/api/account/configuration/le-categories/categories/query?v=2.0

HTTP Methods

POST

Response Codes

200 OK

400 Bad Request

401 Not Authorized

500 Internal server error

Formats

JSON

Path Parameters

N/A

Query Parameters

Parameter Description Notes
select dynamic selection of response fields Default: $summary alias: id,deleted,name Available aliases: $all: id,deleted,name,order,proposed $summary: id,deleted,name type: YOGA 'gdata' dialect validation error: 400 supported fields: any in response body **yoga GData dialect builder url: https://github.com/skyscreamer/yoga/wiki/Using-the-Selector-Builder-GUI

Request Body

Contains query parameters — a mapping between account id and revision number.

{ " type": 0, "parameters": [ { "site": "1236744443", "revision": 17890 }, { "site": "243256785", "revision": 2456 } ] }

Request Headers

Header Description
Authorization Contains token string to allow request authentication and authorization. See the doc for more details.

Response Headers

N/A

Response Body

{ "appDataList": [ { "appName": "categories", "appApiVersion": 1, "accountList": { "accountList": [ { "siteId": "TEST_SITE_ID", "itemsCollection": { "items": [ { "id":1, "deleted":false, "name":"iPhone4", "order":1, "proposed":true } ], "revision": 123123 } } ] } } ] }