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/api
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-02-16 16:37:26 +0300
committerJames Lopez <james@jameslopez.es>2018-02-16 16:37:26 +0300
commit890d7b540b1ffbadcde490a2e1b741bbb1af3cf4 (patch)
tree4d72dcf00cfb1763d77df17e5d0600a571fc7e40 /doc/api
parent0abd85f919053efa8a03add9ae43ce9ea2d02ae5 (diff)
update docs
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/README.md1
-rw-r--r--doc/api/project_import_export.md6
-rw-r--r--doc/api/projects.md2
3 files changed, 5 insertions, 4 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index f226716c3b5..1927489b7bb 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -43,6 +43,7 @@ following locations:
- [Pipeline Schedules](pipeline_schedules.md)
- [Projects](projects.md) including setting Webhooks
- [Project Access Requests](access_requests.md)
+- [Project import/export](project_import_export.md)
- [Project Members](members.md)
- [Project Snippets](project_snippets.md)
- [Protected Branches](protected_branches.md)
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
{
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 08df65b2f66..2cdfd1d2ca7 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1328,7 +1328,7 @@ Read more in the [Branches](branches.md) documentation.
## Project Import/Export
-Read more in the [Project export](project_import_export.md) documentation.
+Read more in the [Project import/export](project_import_export.md) documentation.
## Project members