Updated API (markdown)

This commit is contained in:
Omar Roth 2018-08-05 12:19:59 -05:00
parent 5f2b08f4a6
commit 13a896d9c9
1 changed files with 6 additions and 4 deletions

10
API.md
View File

@ -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`