mirror of
https://github.com/tubearchivist/docs.git
synced 2024-11-22 11:50:13 +00:00
[API] add custom playlist docs
This commit is contained in:
parent
c13ffcaafd
commit
e262948291
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user