diff options
author | Valeriy Sizov <vsv2711@gmail.com> | 2012-10-02 13:52:13 +0400 |
---|---|---|
committer | Valeriy Sizov <vsv2711@gmail.com> | 2012-10-02 13:52:13 +0400 |
commit | 705e9f402ed4601e502e51b46a181e3701490321 (patch) | |
tree | faa22b99010aa97bc9f21bbfc903d5c49a93e06e /doc | |
parent | 825081174aa70b5cbfe5947ebf268f14702b6211 (diff) |
#1585 Api for user creation: create help
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/users.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md index 4f806b145d1..0e065fc9582 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -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 Get currently authenticated user. |