This endpoint is currently available as a BETA. Business-critical processes should not depend on this functionality.
Retrieve all customer origin groups through either of the following platform-specific endpoints:
These endpoints do not currently support Azure Block Blob origin groups.
Use the cdn.origins scope to authenticate and authorize requests for the Origins API.
Retrieve all of your customer origin groups for the HTTP Large delivery platform.
Request
A request to retrieve all customer origin groups for the HTTP Large delivery platform is described below.
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/cdn/origins/v0.5/http-large/groups |
This endpoint only takes advantage of common request headers.
Request body parameters are not required by this endpoint.
Response
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 contains the following response elements for each customer origin group returned by this endpoint:
Name | Data Type | Description |
---|---|---|
host_header |
String |
Indicates the value that will be assigned to the Host header for all requests to this customer origin configuration. |
id |
Integer |
Indicates the customer origin group's system-defined ID. |
name |
String |
Indicates the customer origin group's name. |
network_type_id |
Integer |
Indicates the method for resolving hostnames through its system-defined ID. Valid values are:
Use the Get Available Hostname Resolution Methods endpoint to retrieve a list of methods and their system-defined IDs. |
shield_pops |
Array of string values |
Contains this customer origin group's Origin Shield configuration. Key information:
|
strict_pci_certified |
Boolean |
Indicates whether this customer origin group is restricted to Payment Card Industry (PCI)-compliant Origin Shield POPs. Valid values are: true | false
|
tls_settings |
Object |
Contains settings that define TLS behavior. Delivery over TLS requires a TLS certificate, an edge CNAME, and a CNAME record. |
The tls_settings object defines TLS behavior through the following properties:
Name | Data Type | Description |
---|---|---|
allow_self_signed |
Boolean |
Indicates whether our CDN will allow delivery when an edge server detects a self-signed certificate from the origin server during the TLS handshake. The corresponding MCC setting is Disallow Self-Signed. If you set the allow_self_signed property to True, then the Disallow Self-Signed option will be set to False. |
public_keys_to_verify |
Array of string values |
Contains a list of SHA-1 digests for the public key of your end-entity (i.e., leaf) certificate. |
sni_hostname |
String |
Indicates the hostname that will be sent as a SNI hint during the TLS handshake for this customer origin group. Our service will not use Server Name Indication (SNI) during the TLS handshake for this customer origin group when this property is set to null or an empty value. |
The response body for an unsuccessful request may contain an error element that provides additional information.
Sample Request and Response (JSON)
A sample JSON request is shown below.
GET https://api.vdms.io/cdn/origins/v0.5/http-large/groups 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: private
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 591
[{ "id": 2641409, "name": "marketing", "host_header": "marketing.example.com", "shield_pops": [], "network_type_id": 1, "strict_pci_certified": false, "tls_settings": null }, { "id": 2641402, "name": "videos", "host_header": "videos.example.com", "shield_pops": [], "network_type_id": 1, "strict_pci_certified": false, "tls_settings": null } ]
Retrieve all of your customer origin groups for the ADN delivery platform.
Request
A request to retrieve all customer origin groups for the ADN delivery platform is described below.
HTTP Method | Request URI |
---|---|
GET |
https://api.vdms.io/cdn/origins/v0.5/adn/groups |
This endpoint only takes advantage of common request headers.
Request body parameters are not required by this endpoint.
Response
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 contains the following response elements for each customer origin group returned by this endpoint:
Name | Data Type | Description |
---|---|---|
gateway |
Object |
Describes this customer origin group's ADN gateway configuration. |
host_header |
String |
Indicates the value that will be assigned to the Host header for all requests to this customer origin configuration. |
id |
Integer |
Indicates the customer origin group's system-defined ID. |
name |
String |
Indicates the customer origin group's name. |
network_type_id |
Integer |
Indicates the method for resolving hostnames through its system-defined ID. Valid values are:
Use the Get Available Hostname Resolution Methods endpoint to retrieve a list of methods and their system-defined IDs. |
tls_settings |
Object |
Contains settings that define TLS behavior. Delivery over TLS requires a TLS certificate, an edge CNAME, and a CNAME record. |
validation_path |
String |
Indicates the URL to a sample asset. A set of optimal ADN gateway servers for this customer origin group is determined through the delivery of this sample asset. |
The gateway object describes an ADN gateway configuration through the following properties:
Name | Data Type | Description |
---|---|---|
follow_redirect |
Boolean |
Indicates whether our edge servers will respect a URL redirect when validating the set of optimal ADN gateway servers for this customer origin group. |
gateway_reselection |
Boolean |
Returns False. |
pop_last_update |
String |
Indicates the timestamp at which the most recent ADN gateway selection took place. |
pops |
Array of objects |
Contains this customer origin group's ADN gateway configuration. |
selected |
Boolean |
Indicates whether an ADN gateway has been associated with this customer origin group. |
selection_error |
String |
Indicates the error message that occurred during ADN gateway selection. Returns a null value if an error did not occur during ADN gateway selection. |
selection_last_requested |
String |
Indicates the timestamp at which you manually requested ADN gateway selection for this customer origin group. |
The pops array describes each ADN gateway configuration through the following properties:
Name | Data Type | Description |
---|---|---|
city |
String |
Indicates the ADN gateway's city. |
code |
String |
Indicates the ADN gateway's POP code. |
ordinal |
Integer |
Indicates the ADN gateway's failover position. Valid values are:
|
region |
String |
Indicates the ADN gateway's region. |
The tls_settings object defines TLS behavior through the following properties:
Name | Data Type | Description |
---|---|---|
allow_self_signed |
Boolean |
Indicates whether our CDN will allow delivery when an edge server detects a self-signed certificate from the origin server during the TLS handshake. The corresponding MCC setting is Disallow Self-Signed. If you set the allow_self_signed property to True, then the Disallow Self-Signed option will be set to False. |
public_keys_to_verify |
Array of string values |
Contains a list of SHA-1 digests for the public key of your end-entity (i.e., leaf) certificate. |
sni_hostname |
String |
Indicates the hostname that will be sent as a SNI hint during the TLS handshake for this customer origin group. Our service will not use Server Name Indication (SNI) during the TLS handshake for this customer origin group when this property is set to null or an empty value. |
The response body for an unsuccessful request may contain an error element that provides additional information.
Sample Request and Response (JSON)
A sample JSON request is shown below.
GET https://api.vdms.io/cdn/origins/v0.5/adn/groups 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: private
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 892
[{ "id": 2641674, "name": "sales", "host_header": "www.example.com", "validation_path": "http://www.example.com", "network_type_id": 1, "gateway": { "selection_last_requested": "2022-06-18T01:09:36Z", "follow_redirect": true, "pop_last_update": "2019-08-08T20:30:45Z", "selection_error": null, "selected": false, "gateway_reselection": false, "pops": [] }, "tls_settings": null }, { "id": 2641442, "name": "conferences", "host_header": "conferences.example.com", "validation_path": "http://conferences.example.com", "network_type_id": 1, "gateway": { "selection_last_requested": "2022-06-14T04:02:36Z", "follow_redirect": true, "pop_last_update": "2022-06-15T10:30:45Z", "selection_error": null, "selected": false, "gateway_reselection": false, "pops": [] }, "tls_settings": null } ]