mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
fix(api) 🏷️ Add missing properties to /videos API endpoint (#551)
– type – storyboards – isPostLiveDvr – dashUrl
This commit is contained in:
parent
3c2356b9b4
commit
29c528970d
1 changed files with 16 additions and 0 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?,
|
||||||
|
|
Loading…
Reference in a new issue