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:
authorJames Lopez <james@jameslopez.es>2018-02-13 17:12:18 +0300
committerJames Lopez <james@jameslopez.es>2018-02-13 17:25:49 +0300
commit39122ea40dda9a1c5b353fc671219b51c625f6cb (patch)
treea92f8ab990bfe94a3782f4b0526a92deef9281e1 /doc
parent17e5ef4b269f4c13d22bd5c10086c6226dc43543 (diff)
update docs
Diffstat (limited to 'doc')
-rw-r--r--doc/api/project_import_export.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/project_import_export.md b/doc/api/project_import_export.md
index c594db7d7f2..17b9b530be7 100644
--- a/doc/api/project_import_export.md
+++ b/doc/api/project_import_export.md
@@ -40,7 +40,7 @@ curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" -F "path=api-
## Import status
-Get the status of export.
+Get the status of an import.
```http
GET /projects/:id/import
@@ -54,7 +54,9 @@ GET /projects/:id/import
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/1/import
```
-Status can be one of `none`, `started`, or `finished`.
+Status can be one of `none`, `scheduled`, `failed`, `started`, or `finished`.
+
+If the status is `failed`, it will include the import error message.
```json
{