ソース
https://www.storyblok.com/docs/Delivery-Api/Tags
タグ
全てのタグを取得
エンドポイント
GET /v1/cdn/tags
パラメータ
名前 | 説明 |
---|---|
token(必須) | プライベートトークン |
starts_with | slugで始まる |
リクエスト
クエリパラメータ
token=wANpEQEsMYGOwLxwXQ76Ggtt
starts_with=de
cURL
curl "https://api.storyblok.com/v1/cdn/tags?token=wANpEQEsMYGOwLxwXQ76Ggtt&starts_with=de" -X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json"
レスポンス
ボディー
{
"tags": [
{
"name": "spicy",
"taggings_count": 1
},
{
"name": "red",
"taggings_count": 1
}
]
}