diff options
author | James Lopez <james@jameslopez.es> | 2018-02-13 15:12:18 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-02-13 15:25:49 +0100 |
commit | 39122ea40dda9a1c5b353fc671219b51c625f6cb (patch) | |
tree | a92f8ab990bfe94a3782f4b0526a92deef9281e1 | |
parent | 17e5ef4b269f4c13d22bd5c10086c6226dc43543 (diff) | |
download | gitlab-ce-39122ea40dda9a1c5b353fc671219b51c625f6cb.tar.gz |
update docs
-rw-r--r-- | doc/api/project_import_export.md | 6 |
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 { |