Mercurial > kallithea
changeset 8977:2244eb820732 stable
docs: minor fixes for API documentation
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 27 Dec 2022 21:10:06 +0100 |
parents | 1c8b3f9add7c |
children | 3c55f6f179fb |
files | docs/api/api.rst |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/api/api.rst Tue Jan 05 00:47:08 2021 +0100 +++ b/docs/api/api.rst Tue Dec 27 21:10:06 2022 +0100 @@ -23,7 +23,7 @@ Clients must send JSON encoded JSON-RPC requests:: { - "id: "<id>", + "id": "<id>", "api_key": "<api_key>", "method": "<method_name>", "args": {"<arg_key>": "<arg_val>"} @@ -489,7 +489,7 @@ add_user_to_user_group ^^^^^^^^^^^^^^^^^^^^^^ -Adds a user to a user group. If the user already is in that group, success will be +Add a user to a user group. If the user already is in that group, success will be ``false``. This command can only be executed using the api_key of a user with admin rights.