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
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2019-02-18 17:17:29 +0300
committerBalasankar "Balu" C <balasankar@gitlab.com>2019-02-19 21:49:27 +0300
commit39f77ad9b46d78908531a303e8a237b40fd07e7e (patch)
treee150a5983595d0b415c6324e81fe7fd8bf8efeb7 /doc
parentab9f8785ebf5483e5d2cd02497b57fa05a47561e (diff)
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