diff options
author | Douwe Maan <douwe@gitlab.com> | 2019-02-25 11:24:13 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-02-25 11:24:13 +0000 |
commit | 8cb236908f03cba6f6a1ad5660ce8fbdfa32a50d (patch) | |
tree | 9b4b4215780394c2b4c4f339b154250be6ae3eeb /doc/api | |
parent | e5c7027faffb75f1d2f7221fa11609741010d82f (diff) | |
parent | 99633a8fa387037697cb0faa04da40972dcc58cc (diff) | |
download | gitlab-ce-8cb236908f03cba6f6a1ad5660ce8fbdfa32a50d.tar.gz |
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.md | 2 |
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 |