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

Note The maximum number of times that each user can call this operation per second is 30.

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

Name Type Required Example Description
Action String Yes DescribeCdnSMCertificateList

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

DomainName String Yes example.com

The accelerated domain name. You can specify only one domain name in each request.

Response parameters

Name Type Example Description
CertificateListModel Struct

The type of the certificate information.

CertList Array of Cert

A list of certificates.

Cert
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)://cdn.aliyuncs.com/?Action=DescribeCdnSMCertificateList
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<DescribeCdnSMCertificateListResponse>
  <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>
</DescribeCdnSMCertificateListResponse>

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.