Queries the details of a certificate.
Usage note
Obtain the certificate name first, and then call this interface to query the certificate details.
QPS limit
A single user can perform a maximum of 50 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation. For more information about what a single user means and the QPS details, see QPS limit on an API operation in ApsaraVideo Live.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeLiveCertificateDetail |
The operation that you want to perform. Set the value to DescribeLiveCertificateDetail. |
CertName | String | Yes | Cert-**** |
The name of the certificate. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Cert | String | -----BEGIN CERTIFICATE-----****-----END CERTIFICATE----- |
The content of the certificate. |
CertId | Long | 23451111 |
The ID of the certificate. |
CertName | String | cert-**** |
The name of the certificate. |
RequestId | String | C7C69682-7F88-40DD-A198-10D0309E439B |
The ID of the request. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=DescribeLiveCertificateDetail
&CertName=Cert-****
&<Common request parameters>
Sample success responses
XML
format
<DescribeLiveCertificateDetailResponse>
<RequestId>C7C69682-7F88-40DD-A198-10D0309E439B</RequestId>
<CertId>23451111</CertId>
<CertName>Cert-****</CertName>
<Cert>-----BEGIN CERTIFICATE-----****-----END CERTIFICATE-----</Cert>
</DescribeLiveCertificateDetailResponse>
JSON
format
{
"DescribeLiveCertificateDetailResponse": {
"RequestId": "C7C69682-7F88-40DD-A198-10D0309E439B",
"CertId": 23451111,
"CertName": "Cert-****",
"Cert": "-----BEGIN CERTIFICATE-----****-----END CERTIFICATE-----"
}
}
Error codes
For a list of error codes, visit the API Error Center.