OLAP REST Commands : REST API Overview : Common REST URI Parameters

Common REST URI Parameters
REST support the following general URI query parameters:
format=[json|xml]: Requests the output message format in JSON or XML, overriding the Accept header if present.
tenant={tenant}: Directs the request to the given tenant. This parameter is required for application REST commands when Doradus is operating in multi-tenant mode. The REST command is routed to specified {tenant}.
These parameters can be used together or independently. They can be added to any other parameters already used by the REST command, if any. Examples:
GET /_applications?format=json
GET /Email/_shards?format=xml&tenant=HelloKitty
GET /Email/Person/_query?q=LastName:Smith&shards=2014-01-01&s=5&tenant=HelloKitty&format=json