mirror of
https://github.com/iv-org/documentation.git
synced 2025-06-17 11:19:22 -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,
|
"container": String,
|
||||||
"encoding": String,
|
"encoding": String,
|
||||||
"qualityLabel": 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": [
|
"formatStreams": [
|
||||||
|
@ -130,6 +139,7 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
"itag": String,
|
"itag": String,
|
||||||
"type": String,
|
"type": String,
|
||||||
"quality": String,
|
"quality": String,
|
||||||
|
"bitrate": String?,
|
||||||
"container": String,
|
"container": String,
|
||||||
"encoding": String,
|
"encoding": String,
|
||||||
"qualityLabel": String,
|
"qualityLabel": String,
|
||||||
|
@ -144,6 +154,14 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
"url": String
|
"url": String
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"musicTracks": [
|
||||||
|
{
|
||||||
|
"song": String,
|
||||||
|
"artist": String,
|
||||||
|
"album": String,
|
||||||
|
"license": String
|
||||||
|
}
|
||||||
|
],
|
||||||
"recommendedVideos": [
|
"recommendedVideos": [
|
||||||
{
|
{
|
||||||
"videoId": String,
|
"videoId": String,
|
||||||
|
@ -157,7 +175,18 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"author": String,
|
"author": String,
|
||||||
|
"authorUrl": String,
|
||||||
|
"authorId": String?,
|
||||||
|
"authorVerified": Boolean,
|
||||||
|
"authorThumbnails": [
|
||||||
|
{
|
||||||
|
"url": string,
|
||||||
|
"width": Int32,
|
||||||
|
"height": Int32
|
||||||
|
}
|
||||||
|
],
|
||||||
"lengthSeconds": Int32,
|
"lengthSeconds": Int32,
|
||||||
|
"viewCount":
|
||||||
"viewCountText": String
|
"viewCountText": String
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue