summaryrefslogtreecommitdiff
path: root/doc/api/project_import_export.md
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-02-16 14:37:26 +0100
committerJames Lopez <james@jameslopez.es>2018-02-16 14:37:26 +0100
commit890d7b540b1ffbadcde490a2e1b741bbb1af3cf4 (patch)
tree4d72dcf00cfb1763d77df17e5d0600a571fc7e40 /doc/api/project_import_export.md
parent0abd85f919053efa8a03add9ae43ce9ea2d02ae5 (diff)
downloadgitlab-ce-890d7b540b1ffbadcde490a2e1b741bbb1af3cf4.tar.gz
update docs
Diffstat (limited to 'doc/api/project_import_export.md')
-rw-r--r--doc/api/project_import_export.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/project_import_export.md b/doc/api/project_import_export.md
index c473b94aafe..e442442c750 100644
--- a/doc/api/project_import_export.md
+++ b/doc/api/project_import_export.md
@@ -2,7 +2,7 @@
[Introduced][ce-41899] in GitLab 10.6
-[Project import/export](../user/project/settings/import_export.md)
+[See also the project import/export documentation](../user/project/settings/import_export.md)
## Import a file
@@ -12,7 +12,7 @@ POST /projects/import
| Attribute | Type | Required | Description |
| --------- | -------------- | -------- | ---------------------------------------- |
-| `namespace` | integer/string | no | The ID or path of the namespace that the project will be imported to. Defaults to the user's namespace |
+| `namespace` | integer/string | no | The ID or path of the namespace that the project will be imported to. Defaults to the current user's namespace |
| `file` | string | yes | The file to be uploaded |
| `path` | string | yes | Name and path for new project |
@@ -56,7 +56,7 @@ curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/a
Status can be one of `none`, `scheduled`, `failed`, `started`, or `finished`.
-If the status is `failed`, it will include the import error message.
+If the status is `failed`, it will include the import error message under `import_error`.
```json
{