docs
api
Cloud Delivery(UCDN)
GetCertificateV2

Obtain Certificate - GetCertificateV2

Overview

Get Certificate List (New)

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetCertificateV2.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
CdnDomainstringFilter the corresponding certificates according to the acceleration domain name.No
OffsetintOffset, default is 0, non-negative integerNo
LimitintLength, default is all, non-negative integerNo

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
TotalCountintCertificate QuantityYes
CertListarray[CertList]Certificate Information ListYes

Data Model

CertList

Field NameTypeDescription InformationRequired
CertNamestringCertificate NameYes
CommonNamestringGeneral NameYes
DnsNamestringDNS NameYes
BeginTimeintCertificate Start TimeYes
EndTimeintCertificate Acquisition TimeYes
DomainCountintNumber of Configured DomainsYes
UserCertstringCertificate ContentYes
CaCertstringCA certificate contentYes
Domainsarray[string]Configured Domain Name ListNo

Example

Request Example

https://api.surfercloud.com/?Action=GetCertificateV2
&ProjectId=GfZloUyO
&Offset=8
&Limit=6
&CdnDomain=oKNiSllO

Response Example

{
  "Action": "GetCertificateV2Response",
  "CertList": [
    {
      "BeginTime": 6,
      "CaCert": "dbvZSNyE",
      "CertName": "tGFFxvhj",
      "CommonName": "EfockrQK",
      "DnsName": "xjhMPWqV",
      "DomainCount": 8,
      "EndTime": 4,
      "UserCert": "rEAUBqQv"
    }
  ],
  "RetCode": 0,
  "TotalCount": 1
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved