Retrieve the default notification configuration that is applicable to all certificates that have not been explicitly configured. This configuration determines the conditions under which notifications will be sent and to whom they will be sent.
Retrieve your default notification configuration through the following request:
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/sec/cps/v2.0/customers/notifications |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request (200 OK) contains the following response elements:
Name | Data Type | Description |
---|---|---|
@id |
String |
Indicates the relative path to an endpoint through which you may retrieve your default notification configuration. |
@type |
String |
Returns Collection. |
items |
Array of objects |
Contains the notification configuration for the requested certificate request. |
The items array describes each notification configuration for this certificate request through the following properties:
Name | Data Type | Description |
---|---|---|
notification_type |
String |
Indicates the type of notification. Valid values are: CertificateRenewal | CertificateExpiring | PendingValidations
|
emails |
Array of string values |
Indicates one or more email addresses to which a notification will be sent. |
enabled |
Boolean |
Indicates whether emails for this type of notification will be sent. |
The response body for an unsuccessful request will contain an error response that provides additional information.
A sample JSON request is shown below.
GET https://api.vdms.io/sec/cps/v2.0/customers/notifications HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 460
{ "@id": "/v2.0/customers/notifications", "@type": "Collection", "items": [{ "notification_type": "CertificateRenewal", "emails": [ "joe@example.com" ], "enabled": true }, { "notification_type": "CertificateExpiring", "emails": [ "joe@example.com" ], "enabled": true }, { "notification_type": "PendingValidations", "emails": [ "jane@example.com" ], "enabled": true } ] }