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”idnumberDatasource ID
namestringDatasource name
slugstringDatasource slug
dimensionsarrayArray listing the dimensions defined for the datasource
Show child properties
idnumberDimension ID
namestringDimension name
entry_valuestringDimension value
datasource_idnumberID of the datasource containing this dimension
created_atstringCreation timestamp (Timestamps follow the ISO 8601 standard in UTC)
updated_atstringLatest 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" } ]}Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community