From: Dessalines Date: Wed, 15 May 2019 20:50:18 +0000 (-0700) Subject: Updating api.md. X-Git-Url: http://these/git/%7BelementUrl%7D?a=commitdiff_plain;h=9283501f234fd732e9dff2a8480ebc7239154128;p=lemmy.git Updating api.md. --- diff --git a/docs/api.md b/docs/api.md index 52ac456a..744de5f3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -545,7 +545,7 @@ Mods and admins can remove and lock a community, creators can delete it. ``` #### Get Posts -Post listing types are `All, Subscribed, Community`. +Post listing types are `All, Subscribed, Community` ##### Request ```rust @@ -570,6 +570,8 @@ Post listing types are `All, Subscribed, Community`. ``` #### Create Post Like +`score` can be 0, -1, or 1 + ##### Request ```rust { @@ -712,6 +714,8 @@ Mods and admins can remove a comment, creators can delete it. ``` #### Create Comment Like +`score` can be 0, -1, or 1 + ##### Request ```rust {