v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_CDN Endpoints

Retrieve an Existing CDN Endpoint

To show information about an existing CDN endpoint, send a GET request to /v2/cdn/endpoints/$ENDPOINT_ID.

get/v2/cdn/endpoints/{cdn_id}

Path parameters

cdn_idstring uuid required

A unique identifier for a CDN endpoint.

Response

The response will be a JSON object with an endpoint key. This will be set to an object containing the standard CDN endpoint attributes.

Example response

{
  "endpoint": {
    "id": "892071a0-bb95-49bc-8021-3afd67a210bf",
    "origin": "static-images.nyc3.digitaloceanspaces.com",
    "endpoint": "static-images.nyc3.cdn.digitaloceanspaces.com",
    "ttl": 3600,
    "certificate_id": "892071a0-bb95-49bc-8021-3afd67a210bf",
    "custom_domain": "static.example.com",
    "created_at": "2018-03-21T16:02:37Z"
  }
}