Commit 858602ea authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix-api-projects-docs' into 'master'

You can only assign default_branch when editing a project

Related to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7726

See merge request !7741
parents 8b694ae8 28f4d7aa
...@@ -592,7 +592,6 @@ Parameters: ...@@ -592,7 +592,6 @@ Parameters:
| `name` | string | yes | The name of the new project | | `name` | string | yes | The name of the new project |
| `path` | string | no | Custom repository name for new project. By default generated based on name | | `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) | | `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 | | `description` | string | no | Short project description |
| `issues_enabled` | boolean | no | Enable issues for this project | | `issues_enabled` | boolean | no | Enable issues for this project |
| `merge_requests_enabled` | boolean | no | Enable merge requests for this project | | `merge_requests_enabled` | boolean | no | Enable merge requests for this project |
...@@ -625,6 +624,7 @@ Parameters: ...@@ -625,6 +624,7 @@ Parameters:
| `user_id` | integer | yes | The user ID of the project owner | | `user_id` | integer | yes | The user ID of the project owner |
| `name` | string | yes | The name of the new project | | `name` | string | yes | The name of the new project |
| `path` | string | no | Custom repository name for new project. By default generated based on name | | `path` | string | no | Custom repository name for new project. By default generated based on name |
| `default_branch` | string | no | `master` by default |
| `namespace_id` | integer | no | Namespace for the new project (defaults to the current user's namespace) | | `namespace_id` | integer | no | Namespace for the new project (defaults to the current user's namespace) |
| `description` | string | no | Short project description | | `description` | string | no | Short project description |
| `issues_enabled` | boolean | no | Enable issues for this project | | `issues_enabled` | boolean | no | Enable issues for this project |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment