プレイリストを作成
POST
/manage/playlistsコミュニティのプレイリストを作成します。そのコミュニティの ADMIN のみ実行できます。
| 認証 | 要ログイン |
|---|
リクエストボディ
communityIdstring必須コミュニティ ID(必須)。そのコミュニティの ADMIN のみ作成できる。
titlestring必須プレイリスト名。作成時は必須。
descriptionstring説明。
slugstringURL スラッグ。重複不可。
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}