summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-01-12 12:05:52 -0500
committerJosh Frye <joshfng@gmail.com>2016-07-11 21:11:32 -0400
commite47f39b9562768b20cb23f3a8f5cf714b11a2013 (patch)
tree1221c09a91fa546ae555c11bf18dc090afb062bc /doc/api
parent3999b80e4ebbfad46b093b94ea5ca31c0c3705be (diff)
downloadgitlab-ce-fix-api-project-name-case.tar.gz
Don't run parameterize on project.path. Fixes #6073fix-api-project-name-case
Diffstat (limited to 'doc/api')
-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 dceee7b4ea7..573fe28e05a 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -433,8 +433,8 @@ POST /projects
Parameters:
-- `name` (required) - new project name
-- `path` (optional) - custom repository name for new project. By default generated based on name
+- `name` (optional) - new project name. By default generated based on path
+- `path` (required) - custom repository path for new project
- `namespace_id` (optional) - namespace for the new project (defaults to user)
- `description` (optional) - short project description
- `issues_enabled` (optional)