From c1b05daef3d06d08fca69e2b00cc3e40f807bdd5 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 5 Aug 2018 12:30:33 -0500 Subject: [PATCH] Updated API (markdown) --- API.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/API.md b/API.md index 1605223..aef7e6d 100644 --- a/API.md +++ b/API.md @@ -94,6 +94,28 @@ ##### GET `/api/v1/trending` > 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`