Skip to content

Retrieve Multiple Datasources

Returns an array of all datasources (as datasource objects).

Terminal window
https://api.storyblok.com/v2/cdn/datasources
  • token required string

    A preview or public access token configured in a space.

  • page number

    Default: 1 (See Pagination)

  • per_page number

    Default: 25, Max: 1000 (See Pagination)

curl "https://api.storyblok.com/v2/cdn/datasources?token=ask9soUkv02QqbZgmZdeDAtt"
Response
{
"datasources": [
{
"id": 313699,
"name": "Background Color Options",
"slug": "background-color-options",
"dimensions": []
},
{
"id": 313701,
"name": "Button Color Options",
"slug": "button-color-options",
"dimensions": []
},
{
"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"
}
]
}
],
"cv": 1710350440
}