Mengkueri data jejak instans ZooKeeper.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListZkTrack |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RequestPars |
string |
No |
Parameter permintaan. |
{} |
| InstanceId |
string |
Yes |
ID instans. |
mse-cn-0ju2yq**** |
| Path |
string |
No |
Path. |
/path |
| SessionId |
string |
No |
ID sesi. |
0x301fdfbdbf00*** |
| StartTs |
integer |
Yes |
Stempel pengatur waktu mulai. Unit: detik. |
1669618483 |
| EndTs |
integer |
Yes |
Stempel pengatur waktu akhir. Unit: detik. |
1669619383 |
| PageSize |
integer |
Yes |
Jumlah entri yang dikembalikan pada setiap halaman. |
20 |
| PageNum |
integer |
Yes |
Nomor halaman yang dikembalikan. |
1 |
| Reverse |
boolean |
No |
Apakah akan mengaktifkan pengurutan terbalik. |
false |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpCode |
string |
The HTTP status code. |
200 |
| Traces |
array<object> |
The track data. |
|
|
object |
The details of the data. |
||
| LogDate |
string |
The logging time. |
2022-11-28 15:09:15,606 |
| Timestamp |
string |
The timestamp. It is not available. |
1669619383000 |
| SessionId |
string |
The session ID. |
0x301fdfbdbf00*** |
| Path |
string |
The path. |
/path |
| TraceType |
string |
The type of the trajectory. Valid values:
|
Push |
| OpType |
string |
The type of the operation. For trajectory of the Push type:
For trajectory of the Pull type:
|
Create |
| EventType |
string |
The type of the event. For trajectory of the Notify type:
|
NodeCreated |
| DataType |
string |
The data type. Valid values:
|
persist |
| Watch |
boolean |
Indicates whether the monitoring feature is enabled. |
true |
| Acl |
string |
The access control list (ACL). |
world:anyone:cdrwa |
| MultiSize |
integer |
The transaction size. |
3 |
| Result |
string |
The returned result. |
success |
| Ttl |
integer |
The time to live (TTL). |
0 |
| Finished |
boolean |
Indicates whether the transaction ended. |
true |
| PageSize |
integer |
The number of entries returned per page. |
20 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
20 |
| RequestId |
string |
The ID of the request. |
DC34E4A3-5F1C-4E40-86EA-02EDF967**** |
| Message |
string |
The message returned. |
ok |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"HttpCode": "200",
"Traces": [
{
"LogDate": "2022-11-28 15:09:15,606",
"Timestamp": "1669619383000",
"SessionId": "0x301fdfbdbf00***",
"Path": "/path",
"TraceType": "Push",
"OpType": "Create",
"EventType": "NodeCreated",
"DataType": "persist",
"Watch": true,
"Acl": "world:anyone:cdrwa",
"MultiSize": 3,
"Result": "success",
"Ttl": 0,
"Finished": true
}
],
"PageSize": 20,
"PageNumber": 1,
"TotalCount": 20,
"RequestId": "DC34E4A3-5F1C-4E40-86EA-02EDF967****\n",
"Message": "ok",
"ErrorCode": "mse-100-000",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.