docs
api
Cloud Delivery(UCDN)
GetUcdnDomainInfoList

Obtain Basic Domain Information - GetUcdnDomainInfoList

Overview

Obtain Basic Domain Information

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUcdnDomainInfoList.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
PageSizeintThe size of the pagination, if not filled, the default is 20 per page.No
PageIndexintReturn to which page, if not filled in, the default is page 1No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
TotalCountintTotal number of domain names under the accountYes
DomainInfoListarray[DomainBaseInfo]Domain Basic InformationYes

Data Model

DomainBaseInfo

Field NameTypeDescription InformationRequired
DomainstringDomain NameYes
DomainIdstringResource id of the domainYes

Example

Request Example

https://api.surfercloud.com/?Action=GetUcdnDomainInfoList
&ProjectId=FbIiIwSw
&PageSize=2
&PageIndex=1

Response Example

{
  "Action": "GetUcdnDomainInfoListResponse",
  "DomainInfoList": [
    {
      "Domain": "xx.ucloud.com",
      "DomainId": "ucdn-asdHd3lj"
    }
  ],
  "RetCode": 0,
  "TotalCount": 1
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved