From ef86dacb7c786c04b4f587276c27957755b200e1 Mon Sep 17 00:00:00 2001 From: syeopite <70992037+syeopite@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:48:58 -0700 Subject: [PATCH] Remove deprecated API endpoints (#109) --- API.md | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) diff --git a/API.md b/API.md index 9937390..ba48bff 100644 --- a/API.md +++ b/API.md @@ -225,26 +225,6 @@ source: "youtube", "reddit" (default: youtube) 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` > Schema: @@ -317,39 +297,6 @@ type: "music", "gaming", "news", "movies" 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` > Schema: