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
Section titled “Properties”- id number
Datasource ID
- name string
Datasource name
- slug string
Datasource slug
- dimensions array
Array listing the dimensions defined for the datasource
Show child properties
- id number
Dimension ID
- name string
Dimension name
- entry_value string
Dimension value
- datasource_id number
ID of the datasource containing this dimension
- created_at string
Creation timestamp (Timestamps follow the ISO 8601 standard in UTC)
- updated_at string
Latest updated timestamp (Timestamps follow the ISO 8601 standard in UTC)
-
{ "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" } ]}Get in touch with the Storyblok community