Context
The service may be running behind a proxy or API Gateway which has a limited payload size. A presigned url provides a way for clients to upload their document directly to S3, bypassing those limitations (though there may be further limits, but likely higher than the general application networking paths).
Implementation
New API endpoint for returning a pre-signed S3 URL for users to upload to, associated with a document/job record for processing.
The API endpoint should not be specific to S3, though that is the only backend implementation at the moment.
Context
The service may be running behind a proxy or API Gateway which has a limited payload size. A presigned url provides a way for clients to upload their document directly to S3, bypassing those limitations (though there may be further limits, but likely higher than the general application networking paths).
Implementation
New API endpoint for returning a pre-signed S3 URL for users to upload to, associated with a document/job record for processing.
The API endpoint should not be specific to S3, though that is the only backend implementation at the moment.