mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Compare commits
3 commits
f62cee87c3
...
2effe7f071
Author | SHA1 | Date | |
---|---|---|---|
|
2effe7f071 | ||
|
29c528970d | ||
|
8ebfc7fe41 |
2 changed files with 17 additions and 1 deletions
16
docs/api.md
16
docs/api.md
|
@ -37,6 +37,7 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
|
"type": String, // "video"|"published"
|
||||||
"title": String,
|
"title": String,
|
||||||
"videoId": String,
|
"videoId": String,
|
||||||
"videoThumbnails": [
|
"videoThumbnails": [
|
||||||
|
@ -47,6 +48,19 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
"height": Int32
|
"height": Int32
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"storyboards": [
|
||||||
|
{
|
||||||
|
"url": String,
|
||||||
|
"templateUrl": String,
|
||||||
|
"width": Int32,
|
||||||
|
"height": Int32,
|
||||||
|
"count": Int32,
|
||||||
|
"interval ": Int32,
|
||||||
|
"storyboardWidth": Int32,
|
||||||
|
"storyboardHeight": Int32,
|
||||||
|
"storyboardCount": Int32
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
"description": String,
|
"description": String,
|
||||||
"descriptionHtml": String,
|
"descriptionHtml": String,
|
||||||
|
@ -82,7 +96,9 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
"rating": Float32,
|
"rating": Float32,
|
||||||
"isListed": Bool,
|
"isListed": Bool,
|
||||||
"liveNow": Bool,
|
"liveNow": Bool,
|
||||||
|
"isPostLiveDvr": Bool,
|
||||||
"isUpcoming": Bool,
|
"isUpcoming": Bool,
|
||||||
|
"dashUrl:" String,
|
||||||
"premiereTimestamp": Int64?,
|
"premiereTimestamp": Int64?,
|
||||||
|
|
||||||
"hlsUrl": String?,
|
"hlsUrl": String?,
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
## Rules to have your instance in this list:
|
## Rules to have your instance in this list:
|
||||||
|
|
||||||
1. Instances MUST have been up for at least a month before it can be added to this list.
|
1. Instances MUST have been up for at least a month before it can be added to this list.
|
||||||
2. Instances MUST have been updated in the last month. An instance that hasn't been updated in the last month is considered unmaintained and is removed from the list.
|
2. Instances MUST not be more than a month out of date compared with either the latest commit or latest release. Any instance that is more than a month out of date is considered unmaintained and will be removed from the list.
|
||||||
3. Instances MUST have statistics (`/api/v1/stats`) enabled (`statistics_enabled: true` in the configuration file).
|
3. Instances MUST have statistics (`/api/v1/stats`) enabled (`statistics_enabled: true` in the configuration file).
|
||||||
4. Instances MUST have an uptime of at least 90% ([according to uptime.invidious.io](https://uptime.invidious.io/)).
|
4. Instances MUST have an uptime of at least 90% ([according to uptime.invidious.io](https://uptime.invidious.io/)).
|
||||||
5. Instances MUST be served via domain name.
|
5. Instances MUST be served via domain name.
|
||||||
|
|
Loading…
Reference in a new issue