调用DescribeTagValueList接口查询指定标签键对应的标签值列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
cms:DescribeTagValueList |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageNumber |
integer |
否 |
页码。 起始值:1,默认值:1。 |
1 |
| PageSize |
integer |
否 |
分页查询时设置的每页行数。 |
10 |
| TagKey |
string |
是 |
标签键。 关于如何获取标签键,请参见 DescribeTagKeyList 。 |
tagKey1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
string |
状态码。 说明
200 表示成功。 |
200 |
| Message |
string |
错误信息。 |
The specified resource is not found. |
| RequestId |
string |
请求 ID。 |
B04B8CF3-4489-432D-83BA-6F128E4F2295 |
| Success |
boolean |
操作是否成功。取值:
|
true |
| TagValues |
object |
||
| TagValue |
array |
标签值。 |
|
|
string |
标签值。 |
si-65d55ff37d6c4b4ea3b3 |
示例
正常返回示例
JSON格式
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "B04B8CF3-4489-432D-83BA-6F128E4F2295",
"Success": true,
"TagValues": {
"TagValue": [
"si-65d55ff37d6c4b4ea3b3"
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定资源。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?