mirror of
https://github.com/iv-org/documentation.git
synced 2024-10-01 01:35:51 -04:00
Remove deprecated API endpoints (#109)
This commit is contained in:
parent
a7b9122a04
commit
ef86dacb7c
53
API.md
53
API.md
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user