DistributeApp LogoDistributeProject
DistributorUsersUser_idPlaylistsPlaylist_id

Get playlist

Returns a playlist with songs, song files, album and artist preloaded.

GET
/users/{user_id}/playlists/{playlist_id}

Authorization

BearerAuth
Authorization<token>

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

In: header

Path Parameters

user_id*string

User ID (UUID)

playlist_id*string

Playlist ID (UUID)

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/users/string/playlists/string"
{
  "created_at": "string",
  "folder_id": "string",
  "id": "string",
  "name": "string",
  "song_ids": [
    "string"
  ],
  "user": {
    "id": "string",
    "is_admin": true,
    "root_folder_id": "string",
    "username": "string"
  },
  "user_id": "string"
}
{
  "error": "Validation failed"
}
{
  "error": "Validation failed"
}