Get CDN Configuration
get
/documents/api/1.2/config/sites/deliverycdn
Retrieve the Content Delivery Network URL.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
- application/xml
200 Response
The request was fulfilled.
Root Schema : ContentDeliveryNetworkResponse
Type:
objectContent Delivery Network configuration description.
Show Source
-
description(optional):
string
The description of the Content Delivery Network.
-
domain(optional):
string
Content Delivery Network's URL.
-
errorCode(optional):
number
An error code of zero (0) indicates no errors.
Example Response (application/json)
{
"errorCode":"0",
"items":[
{
"type":"config",
"domain":"www.myContentDeliveryDomain.com",
"description":"Content Delivery Site Description"
}
]
}
Examples
The following example retrieves the CDN configuration on a system where the CDN was configured.
GET .../config/sites/deliverycdn
Request Header
None.
Request Body
None.
HTTP Status Code
HTTP_STATUS = 200
JSON Response
{
"errorCode": "0",
"items": [
{
"type": "config",
"domain": "www.deliveryDomain.com",
"description": "Delivery Site Description"
}
]
}
Example 2
The following example retrieves the CDN configuration on a system where the CDN was not configured.
GET .../config/sites/deliverycdn
Request Header
None.
Request Body
None.
HTTP Status Code
HTTP_STATUS = 200
JSON Response
{
"errorCode": "0"
}