Baidu AI Cloud
中国站

百度智能云

CDN

Query the Domain Name List

Request

Method Path Description
GET /v2/domain Query the user’s domain name list

Response

Parameter Type Description
domains list type, indicating DomainInfo. The list items are as follows:
- name: String type, indicating the domain name.
User domain name list
isTruncated Bool True means there are additional data in the following pages and false means the current page is the last page.
nextMarker String The domain doesn't appear when isTruncated is false. The user can access the subsequent lists by specifying the marker the next time this interface is called.

Request example

GET /v2/domain HTTP/1.1 
Host: cdn.baidubce.com 

Response example

HTTP/1.1 200 OK 
Server: nginx 
Date: Tue, 26 Jul 2016 05:02:53 GMT 
Content-Type: application/json; charset=utf-8 
Connection: keep-alive 
Content-Length: 142

{ 
  "isTruncated":false, 
  "domains": 
  [ 
    {"name":"123.abc.com"}, 
    {"name":"456.def.net"}, 
    {"name":"789.ghi.com"} 
  ] 
}
Previous
Call Instructions
Next
Query all the Domain Names under the User name