API Documents
Contents
    Loading
Documentation API Documents Get The Domain Group List

Get The Domain Group List

1. API Description

This API (Domaingroup.List) is used to get the domain group list.
Domain name for API request:https://api.dnspod.com/Domaingroup.List
HTTP request method: POST

2. Request Parameters

The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.

Parameter Required Description
Common request parameters yes 详见:Common request parameters

3. Response Codes

Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.

Response Code Description
Common Return Code

4. Sample

curl -X POST https://api.dnspod.com/Domaingroup.List -d 'login_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json'

The following is a sample response:

  • JSON:
{
     "status": {
         "code": "1",
         "message": "Action completed successful",
         "created_at": "2014-06-04 21:50:38"
     },
     "groups": [
         {
             "group_id": 1,
             "group_name": "Default Group",
             "group_type": "system",
             "size": 1
         },
         {
             "group_id": 2,
             "group_name": "Often Change",
             "group_type": "system",
             "size": 0
         },
         {
             "group_id": 3,
             "group_name": "Few Change",
             "group_type": "system",
             "size": 0
         },
         {
             "group_id": 4,
             "group_name": "Expiring",
             "group_type": "system",
             "size": 0
         },
         {
             "group_id": 5,
             "group_name": "Personal Domain",
             "group_type": "system",
             "size": 0
         },
         {
             "group_id": 6,
             "group_name": "Company Domain",
             "group_type": "system",
             "size": 0
         },
         {
             "group_id": 7,
             "group_name": "Customer Domain",
             "group_type": "system",
             "size": 0
         },
         {
             "group_id": 8,
             "group_name": "Shared To Me",
             "group_type": "system",
             "size": 0
         }
     ]
 }
Last updated on 2022-03-11 02:54

DNS health check tool powered by DNSPod

查询域名信息,快速排查网站问题

Official WeChat group

Join WeChat group to chat and feedback

Scan using WeChat