阿里云解析 DNS获取域名分组列表

.icms-tree-table-trigger {
display: inline-block;
width: 17px;
height: 17px;
margin-right: 3px;
line-height: 14px;
text-align: center;
background: #fff;
border: 1px solid #e8e8e8;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.icms-tree-table-trigger::after {
content: ‘+’;
}

.icms-tree-table-trigger-expanded::after {
content: ‘-‘
}

调用DescribeDomainGroups根据传入参数获取所有分组列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeDomainGroups

系统规定参数。取值:DescribeDomainGroups。

KeyWord String Group

组名关键字,按照“%KeyWord%”模式搜索,不区分大小写。

Lang String en

语言。

PageNumber Long 1

当前页数,起始值为1,默认为1。

PageSize Long 20

分页查询时设置的每页行数,最大值100,默认为20。

返回数据

名称 类型 示例值 描述
DomainGroups Array

域名分组结构列表。

DomainGroup

域名分组结构列表。

DomainCount Long 2

域名分组数量。

GroupId String 2223

域名分组ID。

GroupName String MyGroup

域名分组名称。

PageNumber Long 1

当前页码。

PageSize Long 2

本次查询获取的域名分组数量。

RequestId String 536E9CAD-DB30-4647-AC87-AA5CC38C5382

请求ID。

TotalCount Long 1

域名分组总数量。

示例

请求示例


http(s)://alidns.aliyuncs.com/?Action=DescribeDomainGroups
&<公共请求参数>

正常返回示例

XML 格式

<DescribeDomainGroupsResponse>
      <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
      <TotalCount>1</TotalCount>
      <PageNumber>1</PageNumber>
      <PageSize>2</PageSize>
      <DomainGroups>
            <DomainGroup>
                  <GroupId>2223</GroupId>
                  <GroupName>MyGroup</GroupName>
            </DomainGroup>
      </DomainGroups>
</DescribeDomainGroupsResponse>

JSON 格式

{
	"PageNumber":1,
	"DomainGroups":{
		"DomainGroup":[
			{
				"GroupName":"MyGroup",
				"GroupId":"2223"
			}
		]
	},
	"TotalCount":1,
	"PageSize":2,
	"RequestId":"536E9CAD-DB30-4647-AC87-AA5CC38C5382"
}

错误码

访问错误中心查看更多错误码。

原创文章,作者:网友投稿,如若转载,请注明出处:https://www.cloudads.cn/archives/34183.html

发表评论

登录后才能评论