调用DescribeCdnCertificateList获取证书列表信息。
单用户调用频率:30次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeCdnCertificateList |
操作接口名,系统规定参数,取值:DescribeCdnCertificateList。 |
DomainName | String | 否 | example.com |
加速域名,多个域名用英文逗号(,)分隔。 默认查询所有加速域名。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CertificateListModel | Struct |
CertificateListModel类型。 |
|
CertList | Array of Cert |
证书列表信息。 |
|
Cert | |||
CertId | Long | 1 |
证书ID。 |
CertName | String | 证书1 |
证书名称。 |
Common | String | example.com |
证书中的CN属性,一般是一个域名。 |
Fingerprint | String | xxx |
证书指纹。 |
Issuer | String | xxx |
证书发行商。 |
LastTime | Long | 1512388610 |
时间戳。 |
Count | Integer | 2 |
证书个数。 |
RequestId | String | FC0E34AC-0239-44A7-AB0E-800DE522C8DA |
请求ID。 |
示例
请求示例
http://cdn.aliyuncs.com?Action=DescribeCdnCertificateList
&DomainName=xxx
&<公共请求参数>
正常返回示例
XML
格式
<DescribeCdnCertificateListResponse>
<CertificateListModel>
<Count>2</Count>
<CertList>
<Cert>
<CertName>证书1</CertName>
<Issuer>xxx</Issuer>
<LastTime>1512388610</LastTime>
<CertId>1</CertId>
<Common>test</Common>
<Fingerprint>xxx</Fingerprint>
</Cert>
<Cert>
<CertName>证书2</CertName>
<Issuer>xxx</Issuer>
<LastTime>1512388659</LastTime>
<CertId>2</CertId>
<Common>test</Common>
<Fingerprint>xxx</Fingerprint>
</Cert>
</CertList>
</CertificateListModel>
<RequestId>FC0E34AC-0239-44A7-AB0E-800DE522C8DA</RequestId>
</DescribeCdnCertificateListResponse>
JSON
格式
{
"CertificateListModel": {
"Count": 2,
"CertList": {
"Cert": [
{
"CertName": "证书1",
"Issuer": "xxx",
"LastTime": 1512388610,
"CertId": 1,
"Common": "test",
"Fingerprint": "xxx"
},
{
"CertName": "证书2",
"Issuer": "xxx",
"LastTime": 1512388659,
"CertId": 2,
"Common": "test",
"Fingerprint": "xxx"
}
]
}
},
"RequestId": "FC0E34AC-0239-44A7-AB0E-800DE522C8DA"
}
错误码
访问错误中心查看更多错误码。