OLAP REST Commands : Shard Management Commands : List Shards

List Shards
The list of all known shards of a given application can be obtained with the following REST command:
GET /{application}/_shards
Each shard that has at least one batch posted are listed, even if the shard has not yet been merged. A typical response in XML:
<result>
<application name="Email">
<shards>
<value>2004-11-16</value>
<value>2005-08-03</value>
<value>2005-10-10</value>
<value>2005-11-01</value>
<value>2005-12-20</value>
<value>2006-01-17</value>
<value>2006-02-01</value>
</shards>
</application>
</result>
In JSON:
{"result": {
"Email": {
"shards": [
"2004-11-16",
"2005-08-03",
"2005-10-10",
"2005-11-01",
"2005-12-20",
"2006-01-17",
"2006-02-01"
]
}
}}