Docs
api
Web Application Firewall(UEWAF)
DescribeWafDomainCertificateInfo

Display the certificate corresponding to the domain name - DescribeWafDomainCertificateInfo

Overview

Display the certificate corresponding to the domain name

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeWafDomainCertificateInfo.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
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
DomainstringTo query the domain name, search for all when it is empty.No

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 QuantityNo
CertificateInfoarray[DoaminCertificateInfo]Certificate details list, refer to DoaminCertificateInfoNo

Data Model

DoaminCertificateInfo

Field NameTypeDescription InformationRequired
CertificateIDintCertificate IDNo
CertificateNamestringCertificate NameNo
DomainstringPrimary Domain of the CertificateNo
UploadTimestringCertificate storage time, in utc time format, such as: 2020-02-06T18:46:17+08:00No
ExpireTimestringExpiration TimeNo

Example

Request Example

https://api.dezai.com/?Action=DescribeWafDomainCertificateInfo
&ProjectId=org-xxx
&Domain=www.test.com

Response Example

{
  "Action": "DescribeWafDomainCertificateInfoResponse",
  "CertificateInfo": [
    {
      "CertificateID": 834,
      "CertificateName": "test",
      "Domain": "test.com",
      "UploadTime": "2020-02-06T18:46:17+08:00"
    }
  ],
  "RetCode": 0,
  "TotalCount": 1
}