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