diff --git a/docs/api.md b/docs/api.md index 2e8240c..1af5112 100644 --- a/docs/api.md +++ b/docs/api.md @@ -117,7 +117,7 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie "type": String, "clen": String, "lmt": String, - "projectionType": Int32, + "projectionType": String, "container": String, "encoding": String, "qualityLabel": String?, @@ -140,7 +140,7 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie "captions": [ { "label": String, - "languageCode": String, + "language_code": String, "url": String } ], @@ -203,6 +203,8 @@ Returns annotation XML from YouTube's `/annotations_invideo` endpoint. Alternati "isEdited": Boolean, "isPinned": Boolean, + "isSponsor": Boolean?, + "sponsorIconUrl": String?, "content": String, "contentHtml": String, @@ -430,6 +432,13 @@ q: String videoCount: Int32, description: String, descriptionHtml: String + }, + { + type: "hashtag" + title: String, + url: String, + channelCount: Int32, + videoCount: Int32 } ]; ``` @@ -470,6 +479,7 @@ region: ISO 3166 country code (default: "US") "videoCount": Int32, "viewCount": Int64, + "viewCountText": String, "updated": Int64, "videos": [