LoginSignup
0

More than 5 years have passed since last update.

Storyblokのdocs翻訳チャレンジその13!!!

Posted at

データソースエントリ

複数のデータソースエントリを取得する

エンドポイント

GET /v1/cdn/datasource_entries

パラメータ

名前 説明
token(必須) publishedだけ欲しければpublicトークン
draftも欲しければprivateトークン 
datasource データソースグループの id/slug
dimension データソースのディメンジョン(例 de-at)

リクエスト

クエリパラメータ

token=wANpEQEsMYGOwLxwXQ76Ggtt
datasource=labels

cURL

curl "https://api.storyblok.com/v1/cdn/datasource_entries?token=wANpEQEsMYGOwLxwXQ76Ggtt&datasource=labels" -X GET \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

レスポンス

ボディ

{
  "datasource_entries": [
    {
      "id": 73,
      "name": "de",
      "value": "de",
      "dimension_value": null
    }
  ]
}

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0