Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify endpoints in own server section of AWS S3 #214

Merged
merged 2 commits into from Apr 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 3 additions & 14 deletions docs/uploader/aws-s3-multipart.mdx
Expand Up @@ -136,20 +136,9 @@ bucket in question. In-depth documentation about CORS rules is available on the
The recommended approach is to integrate `@uppy/aws-s3` with your own server.
You will need to do the following things:

1. [Setup up a S3 bucket](#setting-up-your-s3-bucket).
2. Create endpoints in your server. You can create them as edge functions (such
as AWS Lambdas), inside Next.js as an API route, or wherever your server
runs.
- `GET` > `/uppy/sts`: get the temporary security credentials (optional).
- `POST` > `/uppy/s3`: get parameters and pre-signed URL for non-multipart
upload.
- `POST` > `/uppy/s3-multipart`: create the multipart upload.
- `GET` > `/uppy/s3-multipart/:id`: get the uploaded parts.
- `GET` > `/uppy/s3-multipart/:id/:partNumber`: sign the part and return a
pre-signed URL.
- `POST` > `/uppy/s3-multipart/:id/complete`: complete the multipart upload.
- `DELETE` > `/uppy/s3-multipart/:id`: abort the multipart upload.
3. [Setup Uppy](https://github.com/transloadit/uppy/blob/main/examples/aws-nodejs/public/index.html).
1. [Setup a S3 bucket](#setting-up-your-s3-bucket).
2. [Setup your server](https://github.com/transloadit/uppy/blob/main/examples/aws-nodejs/index.js)
3. [Setup Uppy client](https://github.com/transloadit/uppy/blob/main/examples/aws-nodejs/public/index.html).

### Use with Companion

Expand Down