Queries the ShangMi (SM) certificates of an accelerated domain name.

Note You can call this operation up to 30 times per second.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDcdnSMCertificateList

The operation that you want to perform. Set the value to DescribeDcdnSMCertificateList.

DomainName String Yes example.com

The accelerated domain name whose SM certificates you want to query.

Response parameters

Parameter Type Example Description
CertificateListModel Struct

The type of the certificate information.

CertList Array of Cert

The details about each certificate.

CertIdentifier String yourCertldentifier

The ID of the certificate.

CertName String yourCertName

The name of the certificate.

Common String yourCertCommon

The common name of the certificate.

Issuer String yourCertIssuer

The certificate authority (CA) that issued the certificate.

Count Integer 2

The number of certificates that are returned.

RequestId String DC0E34AC-0239-44A7-AB0E-800DE522C8DC

The ID of the request.

Examples

Sample requests

http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnSMCertificateList
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnSMCertificateListResponse>
  <CertificateListModel>
        <Count>2</Count>
        <CertList>
              <Cert>
                    <CertName>yourCertName1</CertName>
                    <Issuer>yourCertIssuer1</Issuer>
                    <CertIdentifier>yourCertIdentifier1</CertIdentifier>
                    <Common>yourCertCommon1</Common>
              </Cert>
              <Cert>
                    <CertName>yourCertName2</CertName>
                    <Issuer>yourCertIssuer2</Issuer>
                    <CertIdentifier>yourCertIdentifier2</CertIdentifier>
                    <Common>yourCertCommon2</Common>
              </Cert>
        </CertList>
  </CertificateListModel>
  <RequestId>DC0E34AC-0239-44A7-AB0E-800DE522C8DC</RequestId>
</DescribeDcdnSMCertificateListResponse>

JSON format

{
    "CertificateListModel": {
        "Count": 2,
        "CertList": {
            "Cert": [
                {
                    "CertName": "yourCertName1",
                    "Issuer": "yourCertIssuer1",
                    "CertIdentifier": "yourCertIdentifier1",
                    "Common": "yourCertCommon1"
                },
                {
                    "CertName": "yourCertName2",
                    "Issuer": "yourCertIssuer2",
                    "CertIdentifier": "yourCertIdentifier2",
                    "Common": "yourCertCommon2"
                }
            ]
        }
    },
    "RequestId": "DC0E34AC-0239-44A7-AB0E-800DE522C8DC"
}

Error codes

For a list of error codes, visit the API Error Center.