The Datasource Object
This is an object representing a datasource in a space.
Properties
-
id
numberThe numeric ID of the datasource
-
name
stringThe complete name provided for a datasource
-
slug
stringSlug of a datasource
-
dimensions
object[]An array listing the dimensions (e.g., per country, region, language, or other context) defined for the datasource. While creating or updating dimensions inside datasources, a different key -
dimensions_attributes
should be used instead withname
andentry_value
.-
id
numberThe numeric ID
-
name
stringThe complete name provided for the datasource
-
entry_value
stringThe value provided for the datasource dimension (e.g., a language code)
-
datasource_id
numberThe numeric ID of the datasource that the dimension belongs to
-
created_at
stringCreation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
) -
updated_at
stringLatest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
)
-
-
created_at
stringCreation date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
) -
updated_at
stringLatest update date (Format:
yyyy-MM-dd'T'HH:mm:ssZ
)
Example Object
{
"datasource": {
"id": 92,
"name": "Background colors",
"slug": "background-colors",
"dimensions": [
{
"id": 58711,
"name": "Spanish",
"entry_value": "es",
"datasource_id": 92,
"created_at": "2023-07-03T09:19:03.495Z",
"updated_at": "2023-07-03T09:26:22.375Z"
}
],
"created_at": "2023-07-03T06:37:28.078Z",
"updated_at": "2023-07-03T06:37:28.078Z"
}
}