From 94ab7b62953806ebb1ff6efdd972cd841a3fe247 Mon Sep 17 00:00:00 2001 From: Oreoluwa Akinniranye Date: Fri, 15 Jan 2016 23:19:12 +0100 Subject: [PATCH] added the answers and comments endpoint --- docs/comments_endpoints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/comments_endpoints.md b/docs/comments_endpoints.md index b39a040..3e83807 100644 --- a/docs/comments_endpoints.md +++ b/docs/comments_endpoints.md @@ -3,7 +3,7 @@ Endpoints | Usage | Public Access --------- | ----- | ------------- GET /answers/:id/comments | Returns all the comments for a particular answer | True -POST /answers/:id/comments/ | Creates a new answer for the specified answer | False +POST /answers/:id/comments/ | Creates a new comment for the specified answer | False GET /answers/:id/comments/recent?limit={:total} | Returns {total} comments ordered by the most recent [ MAXLIMIT = 15 ] | True GET /answers/:id/comments/popular?limit={:total} | Returns {total} comments ordered by the most popular [ MAXLIMIT = 15 ] | True POST /answers/:id/comments/:id/upvote | Upvotes a comment | False