diff options
author | Michael Leopard <mleopard@gitlab.com> | 2018-07-10 15:27:10 +0000 |
---|---|---|
committer | Michael Leopard <mleopard@gitlab.com> | 2018-07-10 15:27:10 +0000 |
commit | 491afd39a0c5aae1d8626cb25fd5d05be75fa416 (patch) | |
tree | 84f10b1c9ea6bbd9031a6f79642066dd4ce3d6e2 /doc | |
parent | a68ea57d619f02b10e605cc39448b136e651d2db (diff) | |
download | gitlab-ce-491afd39a0c5aae1d8626cb25fd5d05be75fa416.tar.gz |
Update project_import_export.md. Removed cURL statementproject_import_export_update
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/project_import_export.md | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/api/project_import_export.md b/doc/api/project_import_export.md index 1d307df4d0f..83e405141f1 100644 --- a/doc/api/project_import_export.md +++ b/doc/api/project_import_export.md @@ -28,11 +28,6 @@ POST /projects/:id/export | `upload[url]` | string | yes | The URL to upload the project | | `upload[http_method]` | string | no | The HTTP method to upload the exported project. Only `PUT` and `POST` methods allowed. Default is `PUT` | -```console -curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/1/export --data "description=FooBar&upload[http_method]=PUT&upload[url]=https://example-bucket.s3.eu-west-3.amazonaws.com/backup?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIMBJHN2O62W8IELQ%2F20180312%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-Date=20180312T110328Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=8413facb20ff33a49a147a0b4abcff4c8487cc33ee1f7e450c46e8f695569dbd" -``` - -Some systems may require the upload url to be url-encoded: ```console curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/1/export \ |