action digitalocean_cdn_get_endpoint { label: "Retrieve an Existing CDN Endpoint" description: "To show information about an existing CDN endpoint, send a GET request to `/v2/cdn/endpoints/$ENDPOINT_ID`." provider: digitalocean method: GET path: "/v2/cdn/endpoints/{cdn_id}" encoding: json input: { type: "object" properties: { cdn_id: { type: "string" format: "uuid" } } required: ["cdn_id"] additionalProperties: false } output: { properties: { endpoint: { type: "object" required: ["origin"] properties: { certificate_id: { type: "string" format: "uuid" description: "The ID of a DigitalOcean managed TLS certificate used for SSL when a custom subdomain is provided." } created_at: { type: "string" format: "date-time" description: "A time value given in ISO8601 combined date and time format that represents when the CDN endpoint was created." } custom_domain: { type: "string" format: "hostname" description: "The fully qualified domain name (FQDN) of the custom subdomain used with the CDN endpoint." } endpoint: { type: "string" format: "hostname" description: "The fully qualified domain name (FQDN) from which the CDN-backed content is served." } id: { type: "string" format: "uuid" description: "A unique ID that can be used to identify and reference a CDN endpoint." } origin: { type: "string" format: "hostname" description: "The fully qualified domain name (FQDN) for the origin server which provides the content for the CDN. This is currently restricted to a Space." } ttl: { type: "integer" description: "The amount of time the content is cached by the CDN's edge servers in seconds. TTL must be one of 60, 600, 3600, 86400, or 604800. Defaults to 3600 (one hour) when excluded." enum: [60, 600, 3600, 86400, 604800] } } } } } }