Updated API (markdown)

This commit is contained in:
Omar Roth 2018-08-05 12:30:33 -05:00
parent 13a896d9c9
commit c1b05daef3

22
API.md
View File

@ -94,6 +94,28 @@
##### GET `/api/v1/trending` ##### GET `/api/v1/trending`
> Schema: > Schema:
``` ```
[
{
"title": String,
"videoId": String,
"videoThumbnails": [
{
"quality": String,
"url": String,
"width": Int32,
"height" Int32
],
"lengthSeconds": Int32,
"viewCount": Int64,
"author": String,
"authorUrl": String,
"description": String,
"descriptionHtml": String
}
]
``` ```
GET `/api/v1/top` GET `/api/v1/top`