summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-20 06:06:19 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-20 06:06:19 +0000
commit7e20809103e1f9c0c96c3a96705224c81bf448d5 (patch)
treeafc4e940a8b9e865aa95d406f2c52f47c232a8fd /doc/api
parenta264dc20c7b1f9bf7863a2a8048324d28aafaac0 (diff)
downloadgitlab-ce-7e20809103e1f9c0c96c3a96705224c81bf448d5.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/project_import_export.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/project_import_export.md b/doc/api/project_import_export.md
index 7040646641b..cd02d423a9f 100644
--- a/doc/api/project_import_export.md
+++ b/doc/api/project_import_export.md
@@ -137,7 +137,7 @@ from io import BytesIO
s3_file = requests.get(presigned_url)
url = 'https://gitlab.example.com/api/v4/projects/import'
-files = {'file': BytesIO(s3_file.content)}
+files = {'file': ('file.tar.gz', BytesIO(s3_file.content))}
data = {
"path": "example-project",
"namespace": "example-group"