DistributeApp LogoDistributeProject
DistributorUsersUser_idLibrary

Get library contents

Returns the user's library contents (folders and playlists).

GET
/users/{user_id}/library

Authorization

BearerAuth
Authorization<token>

Type "Bearer" followed by a space and JWT token.

In: header

Path Parameters

user_id*string

User ID (UUID)

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/users/string/library"
{
  "folders": [
    {
      "id": "string",
      "name": "string",
      "parent_folder_id": "string"
    }
  ],
  "playlists": [
    {
      "id": "string",
      "name": "string",
      "parent_folder_id": "string"
    }
  ]
}
{
  "error": "Validation failed"
}
{
  "error": "Validation failed"
}