BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
985ecf0f
Commit
985ecf0f
authored
Aug 31, 2012
by
Alex Denisov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs added for Create Project API
parent
c1173e27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
projects.md
doc/api/projects.md
+38
-0
No files found.
doc/api/projects.md
View file @
985ecf0f
...
...
@@ -89,6 +89,44 @@ Parameters:
}
```
## Create project
Create new project owned by user
```
POST /projects
```
Parameters:
+
`name`
(required) - new project name
+
`code`
(optional) - new project code, used project name if not set
+
`path`
(optional) - new project path, user project name if not set
```
json
{
"id"
:
5
,
"code"
:
"gitlab"
,
"name"
:
"gitlab"
,
"description"
:
null
,
"path"
:
"gitlab"
,
"default_branch"
:
"api"
,
"owner"
:
{
"id"
:
1
,
"email"
:
"john@example.com"
,
"name"
:
"John Smith"
,
"blocked"
:
false
,
"created_at"
:
"2012-05-23T08:00:58Z"
},
"private"
:
true
,
"issues_enabled"
:
true
,
"merge_requests_enabled"
:
true
,
"wall_enabled"
:
true
,
"wiki_enabled"
:
true
,
"created_at"
:
"2012-05-30T12:49:20Z"
}
```
## Project repository branches
Get a list of project repository branches sorted by name alphabetically.
...
...
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