summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-02-28 16:29:00 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-02-28 16:29:00 +0000
commit0226fb0e1f7b1aca6cd1258371a03245df8c1787 (patch)
treecfe4b2e9d3ecabeb85ab46e8500498e4b9e91eda /doc
parent58758bd5921a3f70918b23f90443812e6088a29c (diff)
parent08ee177d6f247d1f8aa43a91e89469434526aabe (diff)
downloadgitlab-ce-0226fb0e1f7b1aca6cd1258371a03245df8c1787.tar.gz
Merge branch '6073_project_api' into 'master'
API project create: Make name or path required Closes #6073 See merge request !9416
Diffstat (limited to 'doc')
-rw-r--r--doc/api/projects.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 1a8c0ae758f..5de23908b42 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -435,8 +435,8 @@ Parameters:
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
-| `name` | string | yes | The name of the new project |
-| `path` | string | no | Custom repository name for new project. By default generated based on name |
+| `name` | string | yes if path is not provided | The name of the new project. Equals path if not provided. |
+| `path` | string | yes if name is not provided | Repository name for new project. Generated based on name if not provided (generated lowercased with dashes). |
| `namespace_id` | integer | no | Namespace for the new project (defaults to the current user's namespace) |
| `description` | string | no | Short project description |
| `issues_enabled` | boolean | no | Enable issues for this project |