diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-11-24 11:38:15 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-11-24 11:38:15 +0000 |
commit | a5535a678904114acaf4099194c1f185be80e587 (patch) | |
tree | 24fb7c7c644c0eb4403466d2bf22dfc44f9a098f /doc | |
parent | 3e44ed3e2bf75bb14a2d8b0466b3d92afd0ea067 (diff) | |
parent | b437d305ca92f0f908d2cba4d681a8c8df9a348a (diff) | |
download | gitlab-ce-a5535a678904114acaf4099194c1f185be80e587.tar.gz |
Merge branch 'update-project-api-doc' into 'master'
Add default_branch attr to Project API payload in docs.
See merge request !7726
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/projects.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index de5d3b07c21..b02a901d884 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -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 | |