pydo.cdn.get_endpoint()

Description

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

Parameters

Name Type Required Description Default Value
cdn_id string True A unique identifier for a CDN endpoint.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

get_resp = client.cdn.get_endpoint(cdn_id="aa34ba1")

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

In this article...