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
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
doc/api/projects.md
doc/api/projects.md
+38
-0
No files found.
doc/api/projects.md
View file @
985ecf0f
...
@@ -89,6 +89,44 @@ Parameters:
...
@@ -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
## Project repository branches
Get a list of project repository branches sorted by name alphabetically.
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