查询ZooKeeper数据节点信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
mse:QueryZnodeDetail |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RequestPars |
string |
否 |
扩展请求参数,JSON 格式。 |
{} |
| ClusterId |
string |
否 |
集群 ID。 |
mse-09k1q11**** |
| Path |
string |
是 |
节点路径。 |
/zookeeper |
| InstanceId |
string |
否 |
实例 ID。 |
mse-cn-5bffa4e8630 |
| AcceptLanguage |
string |
否 |
返回信息的语言类型:
|
zh |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
数据结构。 |
||
| Message |
string |
信息。 |
请求处理成功 |
| RequestId |
string |
请求 ID。 |
58E06A0A-BD2C-47A0-99C2-B100F353**** |
| Data |
object |
数据概览。 |
|
| Data |
string |
节点数据。 |
cluster |
| Path |
string |
节点路径。 |
/zookeeper |
| Dir |
boolean |
节点列表信息,取值如下:
|
true |
| Name |
string |
节点名称。 |
zookeeper |
| ErrorCode |
string |
错误码。 |
mse-100-000 |
| Success |
string |
请求结果,取值如下:
|
true |
示例
正常返回示例
JSON格式
{
"Message": "请求处理成功",
"RequestId": "58E06A0A-BD2C-47A0-99C2-B100F353****",
"Data": {
"Data": "cluster",
"Path": "/zookeeper",
"Dir": true,
"Name": "zookeeper"
},
"ErrorCode": "mse-100-000",
"Success": "true"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ZooKeeper.Timeout | ZooKeeper operation timeout. | ZooKeeper 操作超时,可能由于当前操作的Znode数据过大,子节点过多,Server处理请求时间消耗过长,或者集群当前正在选主,无法处理请求。 |
| 400 | ZooKeeper.IllegalRequest.NoNode | The current instance does not have this Znode. | 当前操作的节点不存在,可能已经被删除。 |
| 400 | ZooKeeper.IllegalRequest.NoAuth | No permission to operate current Znode. | 无权限操作当前节点。 |
| 400 | ZooKeeper.IllegalRequest | ZooKeeper operation is illegal. | 当前ZooKeeper操作非法,请重新检查后进行操作 |
| 400 | ZooKeeper.IllegalRequest.NodeExist | The current instance already has this Znode. | 当前节点已经存在,请检查后重新操作。 |
| 400 | IllegalRequest | Invalid request:%s | 非法请求: %s |
| 400 | InvalidParameter | Parameter error:%s | 请求参数错误:%s |
| 500 | InternalError | Console error. Try again later:%s | 控制台错误.稍后重试:%s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | 没有权限使用此接口:%s |
| 404 | NotFound | Not found:%s | 资源不存在:%s |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。