Let's Encrypt certificates

Get Let's Encrypt certificate issuing details

Changed on

Get details about the latest Let's Encrypt certificate issuing attempt for the CDN resource. Returns attempts in all statuses.

get/cdn/sslData/{cert_id}/status

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/cdn/sslData/{cert_id}/status
  • Auth
    HTTP apikey

Path parameters

cert_idinteger required

Let's Encrypt certificate ID.

Query parameters

excludestring[]

Listed fields will be excluded from the response.

Response

Successful.

idinteger

ID of the attempt to issue a Let's Encrypt certificate.

startedstring

Date when the process of issuing a Let's Encrypt certificate was started (ISO 8601/RFC 3339 format, UTC).

finishedstring nullable

Date when the process of issuing a Let's Encrypt certificate was finished (ISO 8601/RFC 3339 format, UTC).

The field is null if the issuing process is not finished.

activeboolean

Defines whether the Let's Encrypt certificate issuing process is active.

Possible values:

  • true – Issuing process is active.
  • false – Issuing process is completed.
attempts_countinteger

Number of attempts to issue the Let's Encrypt certificate.

next_attempt_timestring nullable

Time of the next scheduled attempt to issue the Let's Encrypt certificate (ISO 8601/RFC 3339 format, UTC).

resourceinteger

CDN resource ID.

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",
  "resource": 1
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added subschema #2 to the response body allOf list for the response status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response's property type changed from no type to object for status

    • info

      removed subschema #2 from the response property allOf list for the response status