Certificate Management Interface¶
GET Query Domain Information¶
GET /prod-api/cdn/layer7/ssl/describeDomainInfo/{domainId}
Request Parameters¶
Name | Location | Type | Required | Description |
---|---|---|---|---|
domainId | path | integer | Yes | domainId |
Authorization | header | string | No | none |
Example Responses
200 Response
{
"msg": "Operation successfu",
"code": 200,
"data": {
"protocol": 0,
"port": 0,
"domainName": "*.demo.com",
"certId": 70,
"source": 1,
"domainId": 194
}
}
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 | 约束 | Chinese Name | Description |
---|---|---|---|---|---|
» msg | string | true | none | none | |
» code | integer | true | none | none | |
» data | object | true | none | none | |
»» protocol | integer | true | none | Origin Type | protocol: 0 (HTTP) 1 (Protocol Follow) |
»» port | integer | true | none | Port | none |
»» domainName | string | true | none | Domain | none |
»» certId | integer | true | none | Certificate List | none |
»» source | integer | true | none | Certificate Source | source: 1 (Own Certificate) 2(Managed Certificate) 0 (Deleted) |
»» domainId | integer | true | none | Domain ID | none |