Remove deprecated API endpoints (#109)

This commit is contained in:
syeopite 2021-07-26 15:48:58 -07:00 committed by GitHub
parent a7b9122a04
commit ef86dacb7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

53
API.md
View file

@ -225,26 +225,6 @@ source: "youtube", "reddit" (default: youtube)
continuation: String continuation: String
``` ```
##### GET `/api/v1/insights/:id`
**Will always return 510: `YouTube has removed publicly-available analytics`\***
> Schema:
```javascript
{
"viewCount": Int64,
"timeWatchedText": String,
"subscriptionsDriven": Int32,
"shares": Int32,
"avgViewDurationSeconds": Int32,
"graphData": {
// ...
}
}
```
##### GET `/api/v1/captions/:id` ##### GET `/api/v1/captions/:id`
> Schema: > Schema:
@ -317,39 +297,6 @@ type: "music", "gaming", "news", "movies"
region: ISO 3166 country code (default: "US") region: ISO 3166 country code (default: "US")
``` ```
##### GET `/api/v1/top`
> Schema:
```javascript
[
{
"title": String,
"videoId": String,
"videoThumbnails": [
{
"quality": String,
"url": String,
"width": Int32,
"height": Int32
}
],
"lengthSeconds": Int32,
"viewCount": Int64,
"author": String,
"authorId": String,
"authorUrl": String,
"published": Int64,
"publishedText": String,
"description": String,
"descriptionHtml": String
}
]
```
##### GET `/api/v1/popular` ##### GET `/api/v1/popular`
> Schema: > Schema: