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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
47abdc10
Commit
47abdc10
authored
Mar 05, 2013
by
Angus MacArthur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated documentation for added Admin APIs
parent
61ffcab6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
doc/api/groups.md
doc/api/groups.md
+11
-0
doc/api/projects.md
doc/api/projects.md
+22
-0
doc/api/users.md
doc/api/users.md
+17
-0
No files found.
doc/api/groups.md
View file @
47abdc10
...
...
@@ -43,3 +43,14 @@ Parameters:
Will return created group with status
`201 Created`
on success, or
`404 Not found`
on fail.
## Transfer project to group
Transfer a project to the Group namespace. Available only for admin
```
POST /groups/:id/projects/:project_id
```
Parameters:
+
`id`
(required) - The ID of a group
+
`
project_id (required) - The ID of a project
doc/api/projects.md
View file @
47abdc10
...
...
@@ -113,6 +113,28 @@ Parameters:
Will return created project with status
`201 Created`
on success, or
`404 Not
found`
on fail.
## Create project for user
Create new project owned by user. Available only for admin
```
POST /projects/user/:user_id
```
Parameters:
+
`user_id`
(required) - user_id of owner
+
`name`
(required) - new project name
+
`description`
(optional) - short project description
+
`default_branch`
(optional) - 'master' by default
+
`issues_enabled`
(optional) - enabled by default
+
`wall_enabled`
(optional) - enabled by default
+
`merge_requests_enabled`
(optional) - enabled by default
+
`wiki_enabled`
(optional) - enabled by default
Will return created project with status
`201 Created`
on success, or
`404 Not
found`
on fail.
## List project team members
Get a list of project team members.
...
...
doc/api/users.md
View file @
47abdc10
...
...
@@ -220,6 +220,23 @@ Parameters:
Will return created key with status
`201 Created`
on success, or
`404 Not
found`
on fail.
## Add SSH key for user
Create new key owned by specified user. Available only for admin
```
POST /users/:id/keys
```
Parameters:
+
`id`
(required) - id of specified user
+
`title`
(required) - new SSH Key's title
+
`key`
(required) - new SSH key
Will return created key with status
`201 Created`
on success, or
`404 Not
found`
on fail.
## Delete SSH key
Delete key owned by 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