百度智能云

All Product Document

          CDN Abroad

          Query Interface for Ddomain Name List

          Interface

          This interface is used to call the list of domain names queried.

          Method Path Description
          GET /v2/abroad/domains Query the list of accelerated domain names

          Response code(Http Status Code)

          Http Status Code Description
          200 Success

          Response body

          Parameter Type Description
          domains list User domain name list
          isTruncated boolean isTruncated
          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/abroad/domains HTTP/1.1 
          x-bce-date: 2018-11-21T08:06:09Z 
          Host: cdn.baidubce.com 
          Content-Length: 0

          Response example

          Server: nginx 
          Date: Wed, 21 Nov 2018 08:06:11 GMT 
          Content-Type: application/json; charset=utf-8 
          Connection: keep-alive 
          x-bce-request-id: b8f50b99-63f1-abef-9c6d-1a74e96b3051
          
          { 
            "isTruncated":false, 
            "domains": [ 
              {"name":"123.abc.com"}, 
              {"name":"456.def.net"}, 
              {"name":"789.ghi.com"} 
            ] 
          }
          Previous
          Call Instructions
          Next
          Create the Domain Name Interface