Resources
Create, view, update, and delete CDN resources. Use these endpoints to provision a CDN resource, configure its source (CDN Storage or origin), and manage its lifecycle.
Retrieve configuration and status details for a specific CDN resource within an organization.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
2f6c4f3a-2c48-4c2b-8e13-7d7c0f4e9b2aThe resource UUID.
8c3a1a2e-1a5a-4a4a-9d2f-3b2f9a5b9c11Resource details retrieved successfully.
Resource not found.
Create a CDN resource that uses CDN Storage as its origin. Select the resource type (small or large) and provide the storage path configuration.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
123e4567-e89b-12d3-a456-426614174000Resource name. This value is used when generating the default CDN hostname.
small-storageOptional label for the resource.
labelstorageData source for the resource. Use storage for CDN Storage-backed resources.
storageResource type/plan.
smallPossible values: Storage API version associated with the storage path configuration.
v2UUID of the storage path.
8c3a1a2e-1a5a-4a4a-9d2f-3b2f9a5b9c11Directory name under the storage path.
testResource created successfully.
Resource created successfully.
Create a CDN resource that pulls content from one or more origin servers. Provide origin settings (protocol, ports, host header, and priority) to configure how the CDN connects to your origin.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
123e4567-e89b-12d3-a456-426614174000Resource name. This value is used when generating the default CDN hostname.
Optional label for the resource.
Data source for the resource.
Resource type.
Origin type.
Primary domain/hostname associated with this resource (used for configuration and routing).
testtest.comResource created successfully.
Invalid request payload.
Unauthorized. Missing or invalid access token.
Create a streaming resource that pulls content from an origin. Provide the origin protocol and origin hostname/URL to configure the source.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
123e4567-e89b-12d3-a456-426614174000Resource name. This value is used when generating the default CDN hostname.
streaming-testOptional label for the resource.
Data source for the resource.
originPossible values: Resource type.
streamingPossible values: Protocol used to connect to the origin.
httpsPossible values: Origin hostname or URL.
streaming-test.comResource created successfully.
Invalid request payload.
Unauthorized. Missing or invalid access token.
Create a streaming resource for RTMP push workflows. Provide RTMP authentication credentials to protect publishing access.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
123e4567-e89b-12d3-a456-426614174000Resource name. This value is used when generating the default CDN hostname.
test-rtmp-pushOptional label for the resource.
Data source for the resource.
rtmp_pushPossible values: Resource type.
streamingPossible values: Username used for RTMP publishing authentication.
testPassword used for RTMP publishing authentication.
8CharPass.Resource created successfully.
Invalid request payload.
Unauthorized. Missing or invalid access token.
Create a streaming resource for FLV delivery. Provide the origin URL and streaming protocol, and configure whether the FLV media server option is enabled.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
123e4567-e89b-12d3-a456-426614174000Resource name. This value is used when generating the default CDN hostname.
testOptional label for the resource.
Data source for the resource.
stream_flvPossible values: Resource type.
streamingPossible values: Streaming protocol used for this resource.
rtmpPossible values: Enable or disable the FLV media server option.
falseOrigin hostname or URL.
flv.test.comResource created successfully.
Invalid request payload.
Unauthorized. Missing or invalid access token.
Enable or disable a specific CDN resource by updating its status.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
123e4567-e89b-12d3-a456-426614174000The resource UUID.
8c3a1a2e-1a5a-4a4a-9d2f-3b2f9a5b9c11Set to true to enable the resource, or false to disable it.
Resource status updated successfully.
Invalid request payload.
Unauthorized. Missing or invalid access token.
Resource not found.
Permanently delete a specific CDN resource from an organization.
Send the access token as a Bearer token in the Authorization header.
The organization UUID.
2f6c4f3a-2c48-4c2b-8e13-7d7c0f4e9b2aThe resource UUID.
8c3a1a2e-1a5a-4a4a-9d2f-3b2f9a5b9c11Resource deleted successfully.
Resource not found.
Last updated
Was this helpful?