[API] add sub/unsub docs

This commit is contained in:
Simon 2023-08-23 22:29:25 +07:00
parent 8a99e5da65
commit 68b2f21fa1
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Parameter:
- filter: subscribed
Subscribe to a list of channels:
Subscribe/Unsubscribe to a list of channels:
**POST** `/api/channel/`
```json
{

View File

@ -3,6 +3,16 @@
## Playlist List
**GET** `/api/playlist/`
Subscribe/Unsubscribe to a list of playlists:
**POST** `/api/playlist/`
```json
{
"data": [
{"playlist_id": "PL96C35uN7xGLLeET0dOWaKHkAlPsrkcha", "playlist_subscribed": true}
]
}
```
## Playlist Item
**GET** `/api/playlist/<playlist_id>/`