Queries a list of shards in a Logstore.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /logstores/{logstore}/shards
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
logstore | string | Yes | The name of the Logstore. | test-logstore |
Response parameters
Examples
Sample success responses
JSON
format
[
{
"shardID": 0,
"status": "readwrite",
"inclusiveBeginKey": "00000000000000000000000000000000",
"exclusiveEndKey": "8000000000000000000000000000000",
"serverIp": "203.0.113.10",
"createTime": 1524222931
}
]
Error codes
For a list of error codes, visit the Service error codes.