调用DescribeVodCertificateList获取证书列表信息。
说明 目前服务地址仅支持:华东2(上海)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeVodCertificateList |
系统规定参数。取值:DescribeVodCertificateList。 |
DomainName | String | 否 | example.com |
点播加速域名。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | FC0E34AC-0239-44A7-****-800DE522C8DA |
请求ID。 |
CertificateListModel | Object |
证书ID。 |
|
Count | Integer | 2 |
证书个数。 |
CertList | Array of Cert |
证书列表信息。 |
|
Cert | |||
LastTime | Long | 1512388610 |
证书签发时间。单位:秒。 |
Fingerprint | String | **** |
证书指纹。 |
CertName | String | 证书 |
证书名称。 |
Issuer | String | **** |
证书发行商。 |
CertId | Long | 235437 |
证书ID。 |
Common | String | test |
证书公用名。 |
示例
请求示例
https://vod.{ApiRegion}.aliyuncs.com/?Action=DescribeVodCertificateList
&<公共请求参数>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeVodCertificateListResponse>
<RequestId>FC0E34AC-0239-44A7-****-800DE522C8DA</RequestId>
<CertificateListModel>
<CertList>
<Cert>
<Fingerprint>****</Fingerprint>
<Issuer>****</Issuer>
<CertId>235437</CertId>
<CertName>证书</CertName>
<LastTime>1512388610</LastTime>
<Common>test</Common>
</Cert>
</CertList>
<Count>2</Count>
</CertificateListModel>
</DescribeVodCertificateListResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "FC0E34AC-0239-44A7-****-800DE522C8DA",
"CertificateListModel" : {
"CertList" : {
"Cert" : [ {
"Fingerprint" : "****",
"Issuer" : "****",
"CertId" : "235437",
"CertName" : "证书",
"LastTime" : "1512388610",
"Common" : "test"
} ]
},
"Count" : "2"
}
}
错误码
访问错误中心查看更多错误码。