GET
/
cdn
/
sslData
curl --request GET \
  --url https://api.gcore.com/cdn/sslData \
  --header 'APIKey: <api-key>'
[
  {
    "id": 42,
    "deleted": false,
    "cert_issuer": "Some certification center",
    "cert_subject_cn": "mydomain.name",
    "cert_subject_alt": "<string>",
    "validity_not_before": "2016-09-17 18:06:01+00:00",
    "validity_not_after": "2017-08-21 11:02:00+00:00",
    "sslCertificateChain": "<string>",
    "hasRelatedResources": true,
    "name": "Some certificate",
    "automated": false
  }
]

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

automated
boolean

How the SSL certificate was issued. Possible values:

  • true – Certificate was issued automatically.
  • false – Certificate was added by a user.
validity_not_after_lte
string

Date and time when the certificate become untrusted (ISO 8601/RFC 3339 format, UTC.) Response will contain only certificates valid until the specified time.

resource_id
integer

CDN resource ID for which certificates are requested.

Response

200 - application/json

Successful.

The response is of type object[].