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
de33669b2f
commit
9bf0093e9f
1 changed files with 16 additions and 0 deletions
16
API.md
16
API.md
|
@ -107,6 +107,12 @@
|
|||
}
|
||||
```
|
||||
|
||||
Parameters:
|
||||
|
||||
```
|
||||
region: [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table) (default: "US")
|
||||
```
|
||||
|
||||
##### GET `/api/v1/comments/:id`
|
||||
|
||||
> Schema:
|
||||
|
@ -150,6 +156,7 @@
|
|||
Parameters:
|
||||
|
||||
```
|
||||
source: "youtube", "reddit"
|
||||
continuation: String
|
||||
```
|
||||
|
||||
|
@ -195,6 +202,7 @@ Parameters:
|
|||
label: String
|
||||
lang: String
|
||||
tlang: String
|
||||
region: [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table) (default: "US")
|
||||
```
|
||||
|
||||
A request with `label` will return the selected captions in WebVTT format.
|
||||
|
@ -236,6 +244,13 @@ Captions can also be selected with an ISO `lang`, e.g. &lang=en, `tlang` will au
|
|||
]
|
||||
```
|
||||
|
||||
Parameters:
|
||||
|
||||
```
|
||||
type: "music", "gaming", "news", "movies"
|
||||
region: [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table) (default: "US")
|
||||
```
|
||||
|
||||
##### GET `/api/v1/top`
|
||||
|
||||
> Schema:
|
||||
|
@ -629,6 +644,7 @@ date: "hour", "today", "week", "month", "year"
|
|||
duration: "short", "long"
|
||||
type: "video", "playlist", "channel", "all", (default: video)
|
||||
features: "hd", "subtitles", "creative_commons", "3d", "live", "purchased", "4k", "360", "location", "hdr" (comma separated: e.g. "&features=hd,subtitles,3d,live")
|
||||
region: [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table) (default: "US")
|
||||
```
|
||||
|
||||
##### GET `/api/v1/playlists/:plid`
|
||||
|
|
Loading…
Reference in a new issue