Data sources

Retrieve a Single Data Source

Retrieve a single data source by id.

get/v2/cdn/datasources/{id}

Request

Path parameters

idstring required
Example:labels

The data source’s ID.

Query parameters

version'draft' | 'published'
Example:published

The content version to retrieve: draft or published. Default is published. Retrieving draft requires a preview access token.

cvinteger
Example:1541863983

Cached version Unix timestamp. Learn more in the Caching concept.

tokenstring required
Example:ask9soUkv02QqbZgmZdeDAtt

A preview or public access token configured in a space.

Response

Datasource Found

cvinteger nullable required

Cached version Unix timestamp. Learn more in the Caching concept.

Example response

{
  "datasource": {
    "id": 123,
    "name": "Background Color",
    "slug": "background-color",
    "dimensions": [
      {
        "id": 1,
        "name": "Width",
        "entry_value": "a language code",
        "datasource_id": 1123,
        "created_at": "2025-07-09T14:35:26.851Z",
        "updated_at": "2025-07-09T14:35:26.851Z"
      }
    ],
    "created_at": "2025-07-09T14:35:26.851Z",
    "updated_at": "2025-07-09T14:35:26.851Z"
  },
  "cv": 1541863983
}

Changes

No recorded changes to this operation across all 1 revision of this API.