Skip to main content
GET
/
cdn
/
sslData
/
{cert_id}
/
status
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
ssl_request_status = client.cdn.certificates.get_status(
    cert_id=0,
)
print(ssl_request_status.id)
{
  "id": 1,
  "statuses": [
    {
      "id": 1,
      "status": "DONE",
      "error": "",
      "details": "",
      "created": "2021-10-29T13:21:01.550849Z",
      "retry_after": "2024-01-01T10:00:00Z"
    }
  ],
  "latest_status": {
    "id": 1,
    "status": "DONE",
    "error": "",
    "details": "",
    "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",
  "active": false,
  "attempts_count": 1,
  "next_attempt_time": "<string>",
  "resource": 1
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

cert_id
integer
required

Let's Encrypt certificate ID.

Query Parameters

exclude
string[]

Listed fields will be excluded from the response.

Response

Successful.

id
integer

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

Example:

1

statuses
object[]

Detailed information about attempts to issue a Let's Encrypt certificate.

latest_status
object

Detailed information about last attempt to issue a Let's Encrypt certificate.

started
string

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

Example:

"2021-10-29T13:20:56.543678Z"

finished
string

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.

Example:

"2021-10-29T13:21:01.550849Z"

active
boolean

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

Possible values:

  • true - Issuing process is active.
  • false - Issuing process is completed.
Example:

false

attempts_count
integer

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

Example:

1

next_attempt_time
string

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

resource
integer

CDN resource ID.

Example:

1