mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Updated API (markdown)
This commit is contained in:
parent
1890cad427
commit
a2164e352c
1 changed files with 7 additions and 0 deletions
7
API.md
7
API.md
|
@ -318,6 +318,12 @@ Captions can also be selected with an ISO `lang`, e.g. &lang=en, `tlang` will au
|
|||
}
|
||||
```
|
||||
|
||||
Parameters:
|
||||
|
||||
```
|
||||
sort_by: "newest", "oldest", "popular" (default: newest)
|
||||
```
|
||||
|
||||
Note that a channel's username (if it doesn't include spaces) is also valid in place of `ucid`, e.g. `/api/v1/channels/BlenderFoundation`.
|
||||
|
||||
##### GET `/api/v1/channels/:ucid/videos`, `/api/v1/channels/videos/:ucid`
|
||||
|
@ -358,6 +364,7 @@ Parameters:
|
|||
|
||||
```
|
||||
page: Int32
|
||||
sort_by: "newest", "oldest", "popular" (default: newest)
|
||||
```
|
||||
|
||||
##### GET `/api/v1/channels/search/:ucid`
|
||||
|
|
Loading…
Reference in a new issue