summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-06-06 18:28:36 +0800
committerMark Fletcher <mark@gitlab.com>2017-06-06 21:34:10 +0800
commitcff037fd25a8f94af0ccdc179bb7171411dc1369 (patch)
tree2748c7248ed27cf534077ed74f85d875d9e123d6
parente34e5761042579686fe149f16e7ec107b80224d2 (diff)
downloadgitlab-ce-cff037fd25a8f94af0ccdc179bb7171411dc1369.tar.gz
Confirm Project forking behaviour via the API
* It's unclear that the forking operation can still be ongoing * `import_status` is available in Project Entity to determine status
-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 70cad8a6025..19dd795b337 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -551,6 +551,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
```