Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uppy-s3_multipart
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
uppy-s3_multipart
Commits
dad3d168
Unverified
Commit
dad3d168
authored
6 years ago
by
Janko Marohnić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More documentation tweaks
parent
16b4ec15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
README.md
README.md
+7
-7
No files found.
README.md
View file @
dad3d168
...
...
@@ -200,7 +200,7 @@ Initiates a new multipart upload.
```
rb
client
.
create_multipart_upload
(
key:
"foo"
,
**
options
)
#=> { upload_id: "MultipartUploadId", key: "foo" }
#
=> { upload_id: "MultipartUploadId", key: "foo" }
```
Accepts:
...
...
@@ -219,9 +219,9 @@ Retrieves currently uploaded parts of a multipart upload.
```
rb
client
.
list_parts
(
upload_id:
"MultipartUploadId"
,
key:
"foo"
,
**
options
)
#=> [ { part_number: 1, size: 5402383, etag: "etag1" },
# { part_number: 2, size: 5982742, etag: "etag2" },
# ... ]
#
=> [ { part_number: 1, size: 5402383, etag: "etag1" },
#
{ part_number: 2, size: 5982742, etag: "etag2" },
#
... ]
```
Accepts:
...
...
@@ -244,7 +244,7 @@ Returns the endpoint that should be used for uploading a new multipart part.
```
rb
client
.
prepare_upload_part
(
upload_id:
"MultipartUploadId"
,
key:
"foo"
,
part_number:
1
,
**
options
)
#=> { url: "https://my-bucket.s3.amazonaws.com/foo?partNumber=1&uploadId=MultipartUploadId&..." }
#
=> { url: "https://my-bucket.s3.amazonaws.com/foo?partNumber=1&uploadId=MultipartUploadId&..." }
```
Accepts:
...
...
@@ -264,7 +264,7 @@ Finalizes the multipart upload and returns URL to the object.
```
rb
client
.
complete_multipart_upload
(
upload_id:
upload_id
,
key:
key
,
parts:
[{
part_number:
1
,
etag:
"etag1"
}],
**
options
)
#=> { location: "https://my-bucket.s3.amazonaws.com/foo?..." }
#
=> { location: "https://my-bucket.s3.amazonaws.com/foo?..." }
```
Accepts:
...
...
@@ -284,7 +284,7 @@ Aborts the multipart upload, removing all parts uploaded so far.
```
rb
client
.
abort_multipart_upload
(
upload_id:
upload_id
,
key:
key
,
**
options
)
#=> {}
#
=> {}
```
Accepts:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment