Certificate Management API¶
GET Query Certificate Information by Domain ID¶
GET /prod-api/cdn/layer7/ssl/describeSSLByDomain
Request Parameters¶
Name | Location | Type | Required | Description |
---|---|---|---|---|
domainId | query | integer | Yes | domainId |
Authorization | header | string | No | none |
Example Responses
200 Response
{
"msg": "Operation successful",
"code": 200,
"data": [
{
"alias": "*.demo.com",
"id": 70,
"label": "*.demo.com",
"status": 0,
"subjectDN": "*.demo.com"
}
]
}
401 Response
Responses¶
Status Code | Status Meaning | Description | Data Model |
---|---|---|---|
200 | OK | none | Inline |
401 | Unauthorized | none | Inline |
403 | Forbidden | none | Inline |
404 | Not Found | none | Inline |
Response Data Structure¶
Status Code 200
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
» msg | string | true | none | none | |
» code | integer | true | none | none | |
» data | [object] | true | none | none | |
»» alias | string | false | none | alias | none |
»» id | integer | false | none | id | none |
»» label | string | false | none | none | |
»» status | integer | false | none | none | |
»» subjectDN | string | false | none | none |