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:
authorAram Visser <hello@aramvisser.com>2018-06-24 09:10:15 +0300
committerAram Visser <hello@aramvisser.com>2018-06-27 14:21:18 +0300
commitc3de6a86734f8756de214cc87ac230820fa33acc (patch)
treee3db898a5a56d6afaf552d82c12e2b3e1d42fafa /doc/api
parent2452f1a73e8dcf646311c6069a077ab66be5ce51 (diff)
Add transfer project endpoint to the Projects API
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 30a41839f28..b4599fdc97e 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1390,6 +1390,16 @@ POST /projects/:id/housekeeping
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
+### Transfer a project to a new namespace
+
+```
+PUT /projects/:id/transfer
+```
+
+| Attribute | Type | Required | Description |
+| --------- | ---- | -------- | ----------- |
+| `namespace` | integer/string | yes | The ID or path of the namespace to transfer to project to |
+
## Branches
Read more in the [Branches](branches.md) documentation.