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
This commit is contained in:
Mark Fletcher 2017-06-06 18:28:36 +08:00
parent e34e576104
commit cff037fd25
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
title: Confirm Project forking behaviour via the API
merge_request:
author:

View file

@ -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
```