summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2019-02-18 19:47:29 +0530
committerBalasankar "Balu" C <balasankar@gitlab.com>2019-02-20 00:19:27 +0530
commit39f77ad9b46d78908531a303e8a237b40fd07e7e (patch)
treee150a5983595d0b415c6324e81fe7fd8bf8efeb7 /doc
parentab9f8785ebf5483e5d2cd02497b57fa05a47561e (diff)
downloadgitlab-ce-39f77ad9b46d78908531a303e8a237b40fd07e7e.tar.gz
Let users set name/path on project fork using API
Diffstat (limited to 'doc')
-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