调用ListUserSubdomains获取用户子域名的列表信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListUserSubdomains |
要执行的操作。取值:ListUserSubdomains。 |
Search | String | 否 | baidu.com |
搜索子域名列表信息。 |
CurrentPage | Integer | 否 | 1 |
返回结果的当前页码。默认值为1。 |
PageSize | Integer | 否 | 10 |
返回结果列表每页显示的数据条数。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CurrentPage | Integer | 1 |
返回结果的当前页码。默认值为1。 |
PageSize | Integer | 10 |
返回结果列表每页显示的数据条数。 |
Records | Array |
记录列表 |
|
Domain | String | baidu.com |
域名 |
Id | Integer | 1 |
记录ID |
Index | Integer | 1 |
记录索引号 |
Subdomain | String | foo.baidu.com |
子域名 |
UpdatedAt | Long | 1582166968000 |
更新时间 |
RequestId | String | 665EEE60-E78C-4F3A-A231-8D1C379AB512 |
返回结果请求ID |
TotalCount | Integer | 34013 |
返回结果总数量 |
示例
请求示例
http(s)://[Endpoint]/?Action=ListUserSubdomains
&<公共请求参数>
正常返回示例
XML
格式
<ListUserSubdomainsResponse>
<TotalCount>0</TotalCount>
<RequestId>5A71FF12-FC30-496F-A79F-6FE08C598CC7</RequestId>
<PageSize>10</PageSize>
<CurrentPage>1</CurrentPage>
</ListUserSubdomainsResponse>
JSON
格式
{
"TotalCount": 0,
"RequestId": "5A71FF12-FC30-496F-A79F-6FE08C598CC7",
"PageSize": 10,
"CurrentPage": 1,
"Records": []
}
错误码
访问错误中心查看更多错误码。