1. The Datasource Object

The Datasource Object

The datasource object contains a datasource's id, name, and slug. Furthermore, it contains, any dimensions that are defined for the datasource. Its actual datasources entries are included in the Datasource Entry Object.

Properties

  • id

    number

    The numeric ID

  • name

    string

    The complete name provided for the datasource

  • slug

    string

    The unique slug of the datasource

  • dimensions

    object[]

    An array listing the dimensions (e.g., per country, region, language, or other context) defined for the datasource

    • id

      number

      The numeric ID

    • name

      string

      The complete name provided for the datasource

    • entry_value

      string

      The value provided for the datasource dimension (e.g., a language code)

    • datasource_id

      number

      The numeric ID of the datasource that the dimension belongs to

    • created_at

      string

      Creation date (Format: yyyy-MM-dd'T'HH:mm:ssZ)

    • updated_at

      string

      Latest update date (Format: yyyy-MM-dd'T'HH:mm:ssZ)

Example Object
{
  "id": 313702,
  "name": "Product Labels",
  "slug": "product-labels",
  "dimensions": [
    {
      "id": 68105,
      "name": "German",
      "entry_value": "de",
      "datasource_id": 313702,
      "created_at": "2024-03-15T12:17:10.279Z",
      "updated_at": "2024-03-15T12:17:10.279Z"
    }
  ]
}