summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-06-08 06:33:19 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-06-08 06:33:19 +0000
commitacdd1bf7c92b7e9cdbd579df8faca5ea7783489f (patch)
treef52e860d76e184e37394b9ea16aa4593b5eb5d77
parentabc61f260074663e5711d3814d9b7d301d07a259 (diff)
parentcff037fd25a8f94af0ccdc179bb7171411dc1369 (diff)
downloadgitlab-ce-acdd1bf7c92b7e9cdbd579df8faca5ea7783489f.tar.gz
Merge branch '28607-forking-and-configuring-project-via-api-works-very-unreliable' into 'master'
Confirm Project forking behaviour via the API Closes #28607 See merge request !11931
-rw-r--r--changelogs/unreleased/28607-forking-and-configuring-project-via-api-works-very-unreliable.yml4
-rw-r--r--doc/api/projects.md2
2 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/unreleased/28607-forking-and-configuring-project-via-api-works-very-unreliable.yml b/changelogs/unreleased/28607-forking-and-configuring-project-via-api-works-very-unreliable.yml
new file mode 100644
index 00000000000..9cf8d745f92
--- /dev/null
+++ b/changelogs/unreleased/28607-forking-and-configuring-project-via-api-works-very-unreliable.yml
@@ -0,0 +1,4 @@
+---
+title: Confirm Project forking behaviour via the API
+merge_request:
+author:
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 0debdcfae89..bf21aa0e179 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -415,6 +415,8 @@ Parameters:
Forks a project into the user namespace of the authenticated user or the one provided.
+The forking operation for a project is asynchronous and is completed in a background job. The request will return immediately. To determine whether the fork of the project has completed, query the `import_status` for the new project.
+
```
POST /projects/:id/fork
```