Update api.rst

Added doc on count feature
This commit is contained in:
JocelynDelalande 2014-01-25 20:48:09 +01:00
parent cbd449dcd0
commit 2e60fc7f68

View File

@ -174,4 +174,15 @@ Up- and downvote comments
Get comment count 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