Content Delivery Client API
Version:
1.7.42License: Proprietary license
Overview
You are currently viewing the Cloud Delivery Client API documentation, intended to be used at runtime by your game client.
The Content Delivery Management API is intended to be used by developers at build time for managing content.
Cloud Content Delivery (CCD) is a managed cloud service that hosts and delivers content to your application's users worldwide without having to reinstall a new version of the application.
The service is fully integrated into the Unity development platform, saving you months of building and maintaining your own similar service.
CCD is most valuable for content-rich, live games or applications that require content updates on a regular basis.
Client API Domain
The Client API base domain uses a different domain from the Management API and is in the format:
https://[projectid].client-api.unity3dusercontent.com
Environments
Environments can be created in the Unity Developer Dashboard. A project can exist in several different environments with completely different data sets. Org and User routes are not impacted by environments, but any project or bucket level route is. To find a list of environments for your project and their corresponding IDs visit the Dashboard. If you signed up for UGS Beta, click on Projects. Find your Project and then click on Environments under Project Settings. When environments were introduced all existing data was put into the 'production' environment. If you did not sign up, you can see the environment Id in the LiveOps page. In the Cloud Content Delivery section, click on buckets and you will see the Environment ID in the GUIDS tabs. If you make an API call without an environment ID or environment name you will get data from that default - 'production' - environment.
Routes in the management API take an environment ID. Routes in the client API take an environment name which is then resolved by the API to the proper ID.
All of the old routes without an environment specified have been marked deprecated. They still work and will continue to be supported. We just wanted to make it clear in the documentation which routes you should use going forward.
Authentication
Authentication details depend on whether a bucket is configured as public or private.
Public Buckets
For buckets configured as public, everything in the Client API requires NO AUTHENTICATION. The data served from this API is effectively public.
Private Buckets
For buckets configured as private, everything in the Client API requires a Bucket Access Token that is specific that particular bucket.
To manage access tokens, use the Content Delivery Management API or visit the Developer Dashboard. Access tokens can be configured in the dashboard by navigating to the specific bucket and then to the Settings page.
To authenticate requests, include a Basic Authentication header as a base64-encoded string , using your access token as the password (and empty username).
For example, an access token value of would include an Authorization header like:
username:passwordd6d2c026bac44b1ea7ac0332694a830eAuthorization: Basic OmQ2ZDJjMDI2YmFjNDRiMWVhN2FjMDMzMjY5NGE4MzBl
Download OpenAPI specification:
An entry is a single piece of content within a bucket. Entries are versioned and support adding associated labels / metadata.
Content endpoints are used to retrieve the actual file data for a specific entry.
Releases are a snapshot of the entries contained within a bucket at a single point in time.
Get content for entry
deprecatedOperation ID:
GetContentPublicGets the content for a given entry.
Authorizations
BucketAccessToken
API key location: Header
API key name:
AuthorizationGet content for version of entry
deprecatedOperation ID:
GetContentVersionPublicGet content by path
deprecatedOperation ID:
GetContentByPathPublicGets the content for an entry by path.
Authorizations
BucketAccessToken
API key location: Header
API key name:
AuthorizationGet content for entry from a badged release
deprecatedOperation ID:
GetBadgedReleaseContentPublicGet content in badged release by path
deprecatedOperation ID:
GetBadgedReleaseContentByPathPublicGets the content for an entry in a badged release by path.
Authorizations
BucketAccessToken
API key location: Header
API key name:
AuthorizationGet content for entry
deprecatedOperation ID:
GetReleaseContentPublicGet content in release by path
deprecatedOperation ID:
GetReleaseContentByPathPublicGets the content for an entry in a release by path.
Authorizations
BucketAccessToken
API key location: Header
API key name:
AuthorizationGet content for entry
Operation ID:
GetContentPublicEnvGet content for version of entry
Operation ID:
GetContentVersionPublicEnvGet content by path
Operation ID:
GetContentByPathPublicEnvGets the content for an entry by path.
Authorizations
BucketAccessToken
API key location: Header
API key name:
AuthorizationGet content for entry from a badged release
Operation ID:
GetBadgedReleaseContentPublicEnvGet content in badged release by path
Operation ID:
GetBadgedReleaseContentByPathPublicEnvGet content for entry
Operation ID:
GetReleaseContentPublicEnvGet content in release by path
Operation ID:
GetReleaseContentByPathPublicEnv