プレイリストを作成

POST/manage/playlists

コミュニティのプレイリストを作成します。そのコミュニティの ADMIN のみ実行できます。

認証要ログイン

リクエストボディ

communityIdstring必須

コミュニティ ID(必須)。そのコミュニティの ADMIN のみ作成できる。

titlestring必須

プレイリスト名。作成時は必須。

descriptionstring

説明。

slugstring

URL スラッグ。重複不可。

thumbnailUrlstring

サムネイル画像 URL。

リクエスト
curl https://api.4s.link/manage/playlists \
-X POST \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"communityId": "c1a2b3c4-...",
"title": "Summer Events"
}'
レスポンス例
{
"id": "p1a2b3c4-...",
"slug": "summer-events",
"title": "Summer Events",
"description": "...",
"thumbnailUrl": "https://.../thumb.png",
"communityId": "c1a2b3c4-...",
"itemCount": 12
}