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
Boxiang Sun
gitlab-ce
Commits
9811e64d
Commit
9811e64d
authored
Aug 31, 2012
by
Alex Denisov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo and mistakes fixed
parent
acac1547
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/api/projects.md
doc/api/projects.md
+2
-2
lib/api/projects.rb
lib/api/projects.rb
+2
-2
No files found.
doc/api/projects.md
View file @
9811e64d
...
@@ -100,8 +100,8 @@ POST /projects
...
@@ -100,8 +100,8 @@ POST /projects
Parameters:
Parameters:
+
`name`
(required) - new project name
+
`name`
(required) - new project name
+
`code`
(optional) - new project code, use
d
project name if not set
+
`code`
(optional) - new project code, use
s
project name if not set
+
`path`
(optional) - new project path, use
r
project name if not set
+
`path`
(optional) - new project path, use
s
project name if not set
Will return created project with status
`201 Created`
on success, or
`404 Not
Will return created project with status
`201 Created`
on success, or
`404 Not
found`
on fail.
found`
on fail.
...
...
lib/api/projects.rb
View file @
9811e64d
...
@@ -27,8 +27,8 @@ module Gitlab
...
@@ -27,8 +27,8 @@ module Gitlab
#
#
# Parameters:
# Parameters:
# name (required) - name for new project
# name (required) - name for new project
# code (optional) - code for new project,
if not set used name
# code (optional) - code for new project,
uses project name if not set
# path (optional) -
oath for new project, if not set used name
# path (optional) -
path for new project, uses project name if not set
# Example Request
# Example Request
# POST /projects
# POST /projects
post
do
post
do
...
...
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