QueryDomainGroupList
Queries the list of domain name groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryDomainGroup |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the error message returned by the API. Valid values:
Default value: en. |
en |
| UserClientIp |
string |
No |
The IP address of the client. You can set this parameter to 127.0.0.1. |
127.0.0.1 |
| DomainGroupName |
string |
No |
The custom name of the domain name group. |
Default group |
| ShowDeletingGroup |
boolean |
No |
Specifies whether to display domain name groups that are being deleted. Valid values:
Default value: false. |
false |
| OrderKeyType |
string |
No |
The field by which to sort domain name groups. A value of groupName sorts by group name, updateTime sorts by update time, and other values sort by creation time. |
groupName |
| OrderByType |
string |
No |
The sort order of domain name groups. A value of ASC specifies ascending order, and other values specify descending order. |
ASC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
object |
||
| DomainGroup |
array<object> |
The list of domain name groups. |
|
|
object |
|||
| BeingDeleted |
boolean |
Indicates whether the domain name group is being deleted. Deleting a group that contains more than 1,000 domain names is an asynchronous process that requires a period of time for the system to process. During this period, this field is set to true. |
false |
| CreationDate |
string |
The time when the domain name group was created. The time format varies based on the site and the Lang parameter. For the Chinese site, the format is yyyy-MM-dd HH:mm:ss and the default time zone of the JVM at service runtime is used. For the international site, if Lang is set to zh, the format is yyyy-MM-dd HH:mm:ss (UTC). If Lang is set to en or other values, the format is MMM dd, yyyy HH:mm:ss (UTC). |
2018-04-02 15:59:06 |
| DomainGroupId |
string |
The ID of the domain name group. |
-1 |
| DomainGroupName |
string |
The name of the domain name group. |
Ungrouped |
| DomainGroupStatus |
string |
The status of the domain name group. Valid values:
Note
Setting groups by using files or replacing groups that contain more than 1,000 domain names are asynchronous processes that require a period of time for the system to process. In these cases, this field is set to PROCESSING. |
COMPLETE |
| ModificationDate |
string |
The time when the domain name group was modified. The time format varies based on the site and the Lang parameter. For the Chinese site, the format is yyyy-MM-dd HH:mm:ss and the default time zone of the JVM at service runtime is used. For the international site, if Lang is set to zh, the format is yyyy-MM-dd HH:mm:ss (UTC). If Lang is set to en or other values, the format is MMM dd, yyyy HH:mm:ss (UTC). |
2018-04-02 15:59:06 |
| TotalNumber |
integer |
The number of domain names. |
20 |
| RequestId |
string |
The unique ID of the request. |
80011ABC-F573-4795-B0E8-377BFBBA3422 |
Examples
Success response
JSON format
{
"Data": {
"DomainGroup": [
{
"BeingDeleted": false,
"CreationDate": "2018-04-02 15:59:06",
"DomainGroupId": "-1",
"DomainGroupName": "未分组",
"DomainGroupStatus": "COMPLETE",
"ModificationDate": "2018-04-02 15:59:06",
"TotalNumber": 20
}
]
},
"RequestId": "80011ABC-F573-4795-B0E8-377BFBBA3422"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.