Playlists
Get Playlists
Gets all playlists of the connected user.
| Method | GET | 
|---|---|
| Endpoint | /connect/playlists | 
| Query Parameters | (string) connectToken | 
Attention
Please visually differ playlists, whoseisOfficial property is true as these playlists are official playlists by the SpinShare team.
                                    Output Body (Success)
{
  "version": 1,
  "status": 200,
  "data": [
    {
      "id": 3,
      "title": "Banger Charts",
      "description": "This playlist consists of absolute banger charts!",
      "fileReference": "playlist_5fc2522691a9d",
      "user": {
        "id": 1,
        "username": "taw.moe",
        "isVerified": null,
        "isPatreon": null,
        "pronouns": "she\/her",
        "avatar": "https:\/\/spinsha.re\/uploads\/avatar\/5f86d761933e1.png"
      },
      "songs": [],
      "isOfficial": false,
      "cover": "https:\/\/spinsha.re\/uploads\/cover\/playlist_5fc2522691a9d.png"
    },
    [...]
  ]
}
Responses
| Code | Explaination | 
|---|---|
| 200 | Return of the playlists | 
| 422 | Some parameters were missing. | 
| 403 | Your connectToken is missing or wrong. | 
| 404 | This song does not exist or there is no review from this user. |