Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
705e9f40
Commit
705e9f40
authored
Oct 02, 2012
by
Valeriy Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1585 Api for user creation: create help
parent
82508117
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
doc/api/users.md
doc/api/users.md
+21
-0
No files found.
doc/api/users.md
View file @
705e9f40
...
@@ -65,6 +65,27 @@ Parameters:
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment