improve documentation for videos api endpoint

This commit is contained in:
ChunkyProgrammer 2024-12-12 07:26:42 -05:00
parent 7cc3ea5e97
commit 28b5a92719

View File

@ -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
}
]