#1585 Api for user creation: create help
This commit is contained in:
parent
825081174a
commit
705e9f402e
1 changed files with 21 additions and 0 deletions
|
@ -65,6 +65,27 @@ Parameters:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## User creation
|
||||||
|
Create user. Available only for admin
|
||||||
|
|
||||||
|
```
|
||||||
|
POST /users
|
||||||
|
```
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
+ `email` (required) - Email
|
||||||
|
+ `name` (required) - Name
|
||||||
|
+ `password` (required) - Password
|
||||||
|
+ `password_confirmation` (required) - Password confirmation
|
||||||
|
+ `skype` - Skype ID
|
||||||
|
+ `linkedin` (required) - Linkedin
|
||||||
|
+ `twitter` - Twitter account
|
||||||
|
+ `projects_limit` - Limit projects wich user can create
|
||||||
|
|
||||||
|
|
||||||
|
Will return created user with status `201 Created` on success, or `404 Not
|
||||||
|
found` on fail.
|
||||||
|
|
||||||
## Current user
|
## Current user
|
||||||
|
|
||||||
Get currently authenticated user.
|
Get currently authenticated user.
|
||||||
|
|
Loading…
Reference in a new issue