fix(api) 🏷️ Add missing properties to /videos API endpoint (#551)

– type
– storyboards
– isPostLiveDvr
– dashUrl
This commit is contained in:
Sebastian Hädrich 2024-05-05 00:13:58 +02:00 committed by GitHub
parent 3c2356b9b4
commit 29c528970d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

View File

@ -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?,