Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2019-02-25 14:24:13 +0300
committerDouwe Maan <douwe@gitlab.com>2019-02-25 14:24:13 +0300
commit8cb236908f03cba6f6a1ad5660ce8fbdfa32a50d (patch)
tree9b4b4215780394c2b4c4f339b154250be6ae3eeb /doc/api
parente5c7027faffb75f1d2f7221fa11609741010d82f (diff)
parent99633a8fa387037697cb0faa04da40972dcc58cc (diff)
Merge branch '40795-set-project-name-on-fork-api' into 'master'
Add ability to set project path and name on fork using API Closes #40795 See merge request gitlab-org/gitlab-ce!25363
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 3c0c956ddc2..0a950352ecf 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -771,6 +771,8 @@ POST /projects/:id/fork
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
| `namespace` | integer/string | yes | The ID or path of the namespace that the project will be forked to |
+| `path` | string | no | The path that will be assigned to the resultant project after forking |
+| `name` | string | no | The name that will be assigned to the resultant project after forking |
## List Forks of a project