Aliases
Get alias certificate issuing details
Changed onGet details about the latest Let's Encrypt certificate issuance attempt for an alias, including the CNAME records to create for domain validation and the state of each domain validation challenge. Returns attempts in all statuses.
While the alias is switching to a Let's Encrypt certificate, the attempt for the new certificate is returned.
get/cdn/aliases/{alias_id}/status
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/aliases/{alias_id}/status
- AuthHTTP apikey
Path parameters
alias_idinteger required
Alias ID.
Response
Successful.
Example response
{
"id": 1,
"statuses": [
{
"id": 1,
"status": "DONE",
"created": "2021-10-29T13:21:01.550849Z",
"retry_after": "2024-01-01T10:00:00Z"
}
],
"latest_status": {
"id": 1,
"status": "DONE",
"created": "2021-10-29T13:21:01.550849Z",
"retry_after": "2024-01-01T10:00:00Z"
},
"started": "2021-10-29T13:20:56.543678Z",
"finished": "2021-10-29T13:21:01.550849Z",
"attempts_count": 1,
"next_attempt_time": "2021-10-29T13:21:01.550849Z",
"reason": "initial",
"challenge_type": "dns_01",
"requested_domains": [
"shop.example.com"
],
"challenges": [
{
"domain": "shop.example.com",
"challenge_type": "http_01",
"state": "invalid",
"error": "A 404 error occurred when attempting to connect to the validation URL."
}
],
"validation_state": "AWAITING_CNAME",
"cname_records": [
{
"cname_name": "_acme-challenge.shop.example.com",
"cname_target": "0a1b2c3d4e5f6789.le-challenges.example.net"
}
]
}Changes
- info
added to the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status - info
added the optional property
////to the response with the status - info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info