From 2e60fc7f681c259b16c52855a45b713054024a9e Mon Sep 17 00:00:00 2001 From: JocelynDelalande Date: Sat, 25 Jan 2014 20:48:09 +0100 Subject: [PATCH] Update api.rst Added doc on count feature --- docs/docs/extras/api.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/docs/extras/api.rst b/docs/docs/extras/api.rst index 4255270..366eca1 100644 --- a/docs/docs/extras/api.rst +++ b/docs/docs/extras/api.rst @@ -174,4 +174,15 @@ Up- and downvote comments Get comment count ----------------- -... +Counts all publicly visible comments for thread `uri`: + +.. code-block:: text + + GET /count?uri=%2Fhello-world%2F + 2 + +uri : + URI to count comments for, required. + +returns an integer +