Skip to content

Commit

Permalink
Modify endpoints in own server section of AWS S3 (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerg4l committed Apr 2, 2024
1 parent 6e677bf commit 610bbe8
Showing 1 changed file with 3 additions and 14 deletions.
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

0 comments on commit 610bbe8

Please sign in to comment.