From 13a896d9c9ef74f98653340517216ce65d0cf04c Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 5 Aug 2018 12:19:59 -0500 Subject: [PATCH] Updated API (markdown) --- API.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/API.md b/API.md index 9da3255..1605223 100644 --- a/API.md +++ b/API.md @@ -1,6 +1,5 @@ -GET `/api/v1/videos/:id` -> Given `:id`, return `video` -> `Video` schema: +##### GET `/api/v1/videos/:id` +> Schema: ``` { "title": String, @@ -92,7 +91,10 @@ GET `/api/v1/videos/:id` } ``` -GET `/api/v1/trending` +##### GET `/api/v1/trending` +> Schema: +``` +``` GET `/api/v1/top`