mirror of
https://github.com/tubearchivist/docs.git
synced 2024-11-14 16:10:12 +00:00
[API] add sub/unsub docs
This commit is contained in:
parent
8a99e5da65
commit
68b2f21fa1
@ -7,7 +7,7 @@ Parameter:
|
|||||||
|
|
||||||
- filter: subscribed
|
- filter: subscribed
|
||||||
|
|
||||||
Subscribe to a list of channels:
|
Subscribe/Unsubscribe to a list of channels:
|
||||||
**POST** `/api/channel/`
|
**POST** `/api/channel/`
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -3,6 +3,16 @@
|
|||||||
## Playlist List
|
## Playlist List
|
||||||
**GET** `/api/playlist/`
|
**GET** `/api/playlist/`
|
||||||
|
|
||||||
|
Subscribe/Unsubscribe to a list of playlists:
|
||||||
|
**POST** `/api/playlist/`
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"data": [
|
||||||
|
{"playlist_id": "PL96C35uN7xGLLeET0dOWaKHkAlPsrkcha", "playlist_subscribed": true}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Playlist Item
|
## Playlist Item
|
||||||
**GET** `/api/playlist/<playlist_id>/`
|
**GET** `/api/playlist/<playlist_id>/`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user