To show information about an existing CDN endpoint, send a GET request to /v2/cdn/endpoints/$ENDPOINT_ID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
cdn_id |
string | True | A unique identifier for a CDN endpoint. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.cdn.get_endpoint(cdn_id="aa34ba1")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.