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
Jérome Perrin
gitlab-ce
Commits
b437d305
Commit
b437d305
authored
Nov 23, 2016
by
Ruben Davila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default_branch attr to Project API payload in docs.
parent
5c6d3a99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
doc/api/projects.md
doc/api/projects.md
+2
-0
No files found.
doc/api/projects.md
View file @
b437d305
...
...
@@ -592,6 +592,7 @@ Parameters:
|
`name`
| string | yes | The name of the new project |
|
`path`
| string | no | Custom repository name for new project. By default generated based on name |
|
`namespace_id`
| integer | no | Namespace for the new project (defaults to the current user's namespace) |
|
`default_branch`
| string | no |
`master`
by default |
|
`description`
| string | no | Short project description |
|
`issues_enabled`
| boolean | no | Enable issues for this project |
|
`merge_requests_enabled`
| boolean | no | Enable merge requests for this project |
...
...
@@ -657,6 +658,7 @@ Parameters:
|
`id`
| integer/string | yes | The ID or NAMESPACE/PROJECT_NAME of the project |
|
`name`
| string | yes | The name of the project |
|
`path`
| string | no | Custom repository name for the project. By default generated based on name |
|
`default_branch`
| string | no |
`master`
by default |
|
`description`
| string | no | Short project description |
|
`issues_enabled`
| boolean | no | Enable issues for this project |
|
`merge_requests_enabled`
| boolean | no | Enable merge requests for this project |
...
...
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