Commit 956e9143 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Add missing API docs on external user

[ci skip]
parent 51300d9b
...@@ -220,6 +220,7 @@ Parameters: ...@@ -220,6 +220,7 @@ Parameters:
- `bio` - User's biography - `bio` - User's biography
- `admin` (optional) - User is admin - true or false (default) - `admin` (optional) - User is admin - true or false (default)
- `can_create_group` (optional) - User can create groups - true or false - `can_create_group` (optional) - User can create groups - true or false
- `external` (optional) - Flags the user as external - true or false(default)
Note, at the moment this method does only return a 404 error, Note, at the moment this method does only return a 404 error,
even in cases where a 409 (Conflict) would be more appropriate, even in cases where a 409 (Conflict) would be more appropriate,
......
...@@ -61,7 +61,7 @@ module API ...@@ -61,7 +61,7 @@ module API
# admin - User is admin - true or false (default) # admin - User is admin - true or false (default)
# can_create_group - User can create groups - true or false # can_create_group - User can create groups - true or false
# confirm - Require user confirmation - true (default) or false # confirm - Require user confirmation - true (default) or false
# external - Is user an external user - true or false(default) # external - Flags the user as external - true or false(default)
# Example Request: # Example Request:
# POST /users # POST /users
post do post do
...@@ -108,7 +108,7 @@ module API ...@@ -108,7 +108,7 @@ module API
# bio - Bio # bio - Bio
# admin - User is admin - true or false (default) # admin - User is admin - true or false (default)
# can_create_group - User can create groups - true or false # can_create_group - User can create groups - true or false
# external - Is user an external user - true or false(default) # external - Flags the user as external - true or false(default)
# Example Request: # Example Request:
# PUT /users/:id # PUT /users/:id
put ":id" do put ":id" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment