Skip to Content
DocumentationAPI Referenceコレクション

コレクション API

コレクション APIは、メディアライブラリのフォルダ構造を閲覧することを可能にします。

リスト コレクション

指定された親コレクション内のあるいはルートレベルにあるコレクションの一覧を取得します。

GET /collections

パラメーター

名前タイプ必須説明
pathstring任意親コレクションのフルパス (例: root/movies)。デフォルトは root です。

例リクエスト

GET /api/client/v1/collections?path=root/fitness Host: https://your-app.com Authorization: Bearer sk-your-api-key-here

例レスポンス: 200 OK

{ "data": [ { "name": "Yoga Sessions", "path": "root/fitness/yoga-sessions" }, { "name": "HIIT Workouts", "path": "root/fitness/hiit-workouts" } ] }