mirror of
https://github.com/iv-org/documentation.git
synced 2025-05-20 15:40:28 -04:00
improve documentation for videos api endpoint
This commit is contained in:
parent
7cc3ea5e97
commit
28b5a92719
1 changed files with 30 additions and 1 deletions
31
docs/api.md
31
docs/api.md
|
@ -121,7 +121,16 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
|||
"container": String,
|
||||
"encoding": String,
|
||||
"qualityLabel": String?,
|
||||
"resolution": String?
|
||||
"resolution": String?,
|
||||
"fps": Int32,
|
||||
"size": String?,
|
||||
"targetDurationsec": Int64?,
|
||||
"maxDvrDurationSec": Int64?,
|
||||
"audioQuality": String?,
|
||||
"audioSampleRate": String?,
|
||||
"audioChannels": String?,
|
||||
"colorInfo": String?,
|
||||
"captionTrack": String?
|
||||
}
|
||||
],
|
||||
"formatStreams": [
|
||||
|
@ -130,6 +139,7 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
|||
"itag": String,
|
||||
"type": String,
|
||||
"quality": String,
|
||||
"bitrate": String?,
|
||||
"container": String,
|
||||
"encoding": String,
|
||||
"qualityLabel": String,
|
||||
|
@ -144,6 +154,14 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
|||
"url": String
|
||||
}
|
||||
],
|
||||
"musicTracks": [
|
||||
{
|
||||
"song": String,
|
||||
"artist": String,
|
||||
"album": String,
|
||||
"license": String
|
||||
}
|
||||
],
|
||||
"recommendedVideos": [
|
||||
{
|
||||
"videoId": String,
|
||||
|
@ -157,7 +175,18 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
|||
}
|
||||
],
|
||||
"author": String,
|
||||
"authorUrl": String,
|
||||
"authorId": String?,
|
||||
"authorVerified": Boolean,
|
||||
"authorThumbnails": [
|
||||
{
|
||||
"url": string,
|
||||
"width": Int32,
|
||||
"height": Int32
|
||||
}
|
||||
],
|
||||
"lengthSeconds": Int32,
|
||||
"viewCount":
|
||||
"viewCountText": String
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue