From: Marcin Wojnarowski Date: Sun, 13 Sep 2020 15:20:24 +0000 (+0200) Subject: Api docs corrections (#1131) X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%60%24%7BwebArchiveUrl%7D/save/%7B%60%24%7BarchiveTodayUrl%7D/%24%7Bargs.pageFn.jump%20n%7D?a=commitdiff_plain;h=c239b9af83fd948d2c36fa5d38ea9b5f9d9353cf;p=lemmy.git Api docs corrections (#1131) * corrected endpoint names/methods * small typo fix --- diff --git a/docs/src/contributing_websocket_http_api.md b/docs/src/contributing_websocket_http_api.md index 8ad7fbbf..6d1cf690 100644 --- a/docs/src/contributing_websocket_http_api.md +++ b/docs/src/contributing_websocket_http_api.md @@ -510,7 +510,7 @@ These expire after 10 minutes. ``` ##### HTTP -`PUT /save_user_settings` +`PUT /user/save_user_settings` #### Get Replies / Inbox ##### Request @@ -566,7 +566,7 @@ These expire after 10 minutes. ##### HTTP -`GET /user/mentions` +`GET /user/mention` #### Mark User Mention as read @@ -759,7 +759,7 @@ Marks all user replies and mentions as read. #### Delete Account -*Permananently deletes your posts and comments* +*Permanently deletes your posts and comments* ##### Request ```rust @@ -894,7 +894,7 @@ Search types are `All, Comments, Posts, Communities, Users, Url` ``` ##### HTTP -`POST /search` +`GET /search` #### Get Modlog ##### Request @@ -1838,7 +1838,7 @@ Only the recipient can do this. ``` ##### HTTP -`POST /comment/save` +`PUT /comment/save` #### Create Comment Like