consistency with commas to aid those trying to be naughty parsing these psuedo schemas

This commit is contained in:
Gnuxie 2020-06-10 22:24:43 +01:00 committed by Perflyst
parent 3f4c245523
commit 6823d06ea2

10
API.md
View File

@ -51,7 +51,7 @@ All endpoints that return a JSON body support the [fields API](https://developer
"url": String, "url": String,
"width": Int32, "width": Int32,
"height": Int32 "height": Int32
}, }
], ],
"description": String, "description": String,
@ -107,7 +107,7 @@ All endpoints that return a JSON body support the [fields API](https://developer
"encoding": String, "encoding": String,
"qualityLabel": String?, "qualityLabel": String?,
"resolution": String? "resolution": String?
}, }
], ],
"formatStreams": [ "formatStreams": [
{ {
@ -120,7 +120,7 @@ All endpoints that return a JSON body support the [fields API](https://developer
"qualityLabel": String, "qualityLabel": String,
"resolution": String, "resolution": String,
"size": String "size": String
}, }
], ],
"captions": [ "captions": [
{ {
@ -139,7 +139,7 @@ All endpoints that return a JSON body support the [fields API](https://developer
"url": String, "url": String,
"width": Int32, "width": Int32,
"height": Int32 "height": Int32
}, }
], ],
"author": String, "author": String,
"lengthSeconds": Int32, "lengthSeconds": Int32,
@ -177,9 +177,11 @@ Returns annotation XML from YouTube's `/annotations_invideo` endpoint. Alternati
{ {
"author": String, "author": String,
"authorThumbnails": [ "authorThumbnails": [
{
"url": String, "url": String,
"width": Int32, "width": Int32,
"height": Int32 "height": Int32
}
], ],
"authorId": String, "authorId": String,
"authorUrl": String, "authorUrl": String,