Description

Query changes in Categories data for a range of revisions.

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": 1, "parameters": [ { "site": "187648512", "from": 18, "to": 20 } ] }

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

[{ "revisionsCollection": [{ "revision": 19, "items": [{ "id": 187648512, "order": 1, "name": "iPhone4update", "proposed": true, "deleted": false }], "revisionDate": "May 27, 2014 9:14:02 AM" }, { "revision": 20, "items": [{ "id": 187648512, "order": 1, "name": "iPhone4update", "proposed": false, "deleted": false }], "revisionDate": "May 27, 2014 9:14:21 AM" }], "siteId": "S13014541" }]