Docs
api
Global Dynamic Acceleration(PathX)
DescribePathXSSL

Obtain SSL Certificate Information - DescribePathXSSL

Overview

Obtain SSL certificate information, support pagination, support fuzzy search by certificate name and certificate domain name.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribePathXSSL.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. Please refer to the GetProjectList interface.Yes
SSLIdstringThe Id of the SSL certificate, if not passed, get the certificate list by paginationNo
SearchValuestringIf not empty, search by certificate name and domain name and return paginated resultsNo
LimitintMaximum number of return entries, default is 100, maximum is 400No
OffsetintOffset Default is 0No

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
DataSetarray[PathXSSLSet]Detailed information of SSL certificate, see the specific structure in PathXSSLSetNo
TotalCountintTotal number of eligible certificatesNo

Data Model

PathXSSLSet

Field NameTypeDescription InformationRequired
SSLIdstringId of SSL CertificateNo
SSLNamestringName of the SSL CertificateNo
SubjectNamestringUCertificateNo
ExpireTimeintCertificate Expiration Time TimestampNo
SourceTypeintCertificate source, 0: User upload 1: Free issuanceNo
SSLMD5stringMD5 value of SSL certificate (user certificate, private key, ca certificate combined) contentNo
CreateTimeintCreation time of SSL certificate TimestampNo
SSLBindedTargetSetarray[SSLBindedTargetSet]Object Bound to SSL CertificateNo
SSLContentstringSSL Certificate ContentNo

SSLBindedTargetSet

Field NameTypeDescription InformationRequired
ResourceIdstringInstance ID to which the SSL certificate is boundYes
ResourceNamestringName of the instance to which the SSL certificate is boundNo

Example

Request Example

https://api.dezai.com/?Action=DescribePathXSSL
&ProjectId=org-xxx
&SSLId=gssl-xxxx
&SearchValue=
&Limit=10
&Offset=0

Response Example

{
  "Action": "DescribePathXSSLResponse",
  "DataSet": [
    {
      "CreateTime": 1580000001,
      "ExpireTime": 1590000001,
      "SSLBindedTargetSet": [
        {
          "ResourceId": "uga-xxx",
          "ResourceName": "testl7"
        }
      ],
      "SSLContent": "----BEGIN-----",
      "SSLId": "gssl-xxxx",
      "SSLMD5": "132321312323==",
      "SSLName": "test",
      "SubjectName": "www.uclouds.com"
    }
  ],
  "RetCode": 0,
  "TotalCount": 8
}