Mengambil daftar shard dalam sebuah Logstore.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:ListShards |
get |
*LogStore
|
|
None |
Sintaks permintaan
GET /logstores/{logstore}/shards HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| logstore |
string |
Yes |
Nama Logstore. |
test-logstore |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
ali-test-project |
Elemen respons
|
Element |
Type |
Description |
Example |
|
array |
Shard dalam Logstore. |
||
| shard |
Struktur shard. |
Contoh
Respons sukses
JSONformat
[
{
"shardID": 0,
"status": "readwrite",
"inclusiveBeginKey": "00000000000000000000000000000000",
"exclusiveEndKey": "8000000000000000000000000000000",
"serverIp": "203.0.113.10",
"createTime": 1524222931
}
]
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.