List Certificates (Deprecated)
Notice
OpenAPI for List Certificates is migrated from the CDN service to SwiftFederation.
1. Request Definition
- API URL:
https://cdn-api.swiftfederation.com/v1.0/customers/{customerId}/certificates
- Request Method
GET
- Request Header
Refer to HTTP Request Headers
- Request Body
No request Body for this API.
2. Response Definition
- Response Header
Refer to HTTP Response Headers
- Response Body
Field | Type | Description |
---|---|---|
id | int | Certificate id. |
customerId | int | Customer id of certificate. |
name | string | Certificate name. |
commonName | string | Certificate common name. |
subjectAlternativeNames | string | Certificate subject alternative names. |
serialNumber | string | Certificate serial number. |
issuer | string | Certificate issuer. |
type | string | Certificate type, "single": Single domain SSL, "wildcard": wildcard SSL, "san": Multiple domain SSL. |
validFrom | string | The valid from date time that certificate can be used with UTC+0 timezone. |
validTo | string | The expired date time of certificate with UTC+0 timezone. |
expireIn | int | The number of days that the certificate will expire in. |
created | string | The date that certificate was created with UTC+0 timezone. |
- Response Body Example
[
{
"id": 13,
"customerId": 10000,
"name":"abc123",
"commonName": "www.website1.com",
"subjectAlternativeNames": "",
"serialNumber": "14947807481646671032",
"issuer": "Let's Encrypt Authority X3",
"type":"single",
"validFrom": "2018-12-14T04:32:35Z",
"validTo": "2019-03-14T04:32:35Z",
"expireIn": 3,
"created": "2019-01-23T04:01:44Z"
},
{
"id": 14,
"customerId": 10001,
"name":"abc125",
"commonName": "www.website2.com",
"subjectAlternativeNames": "",
"serialNumber": "14947807481646671032",
"issuer": "Let's Encrypt Authority X3",
"type":"single",
"validFrom": "2018-12-14T04:32:35Z",
"validTo": "2019-03-14T04:32:35Z",
"expireIn": 3,
"created": "2019-01-23T04:01:44Z"
}
]