[API] add custom playlist docs

This commit is contained in:
Simon 2024-04-10 18:23:04 +02:00
parent c13ffcaafd
commit e262948291
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -3,6 +3,10 @@
## Playlist List ## Playlist List
**GET** `/api/playlist/` **GET** `/api/playlist/`
Parameter:
- playlist_type: filter py playlist type.
Subscribe/Unsubscribe to a list of playlists: Subscribe/Unsubscribe to a list of playlists:
**POST** `/api/playlist/` **POST** `/api/playlist/`
```json ```json
@ -16,6 +20,8 @@ Subscribe/Unsubscribe to a list of playlists:
## Playlist Item ## Playlist Item
**GET** `/api/playlist/<playlist_id>/` **GET** `/api/playlist/<playlist_id>/`
**POST**: Update Playlist item, only valid for custom playlists
Delete playlist, metadata only: Delete playlist, metadata only:
**DELETE** `/api/playlist/<playlist_id>/` **DELETE** `/api/playlist/<playlist_id>/`
Delete playlist, also delete all videos in playlist: Delete playlist, also delete all videos in playlist: