Skip to content

Direct upload flow documentation improvements - #27

Merged
danielvysotskyi merged 1 commit into
mainfrom
binary_apps/presigned_link_flow_improvements
Nov 12, 2025
Merged

Direct upload flow documentation improvements#27
danielvysotskyi merged 1 commit into
mainfrom
binary_apps/presigned_link_flow_improvements

Conversation

@danielvysotskyi

Copy link
Copy Markdown
Contributor

This PR adds more deatailed explanation for GET Presigned link resonse attributes and for PUT Update existed binary app request and response attributes. Also this PR add changes to GET and PUT request attributes that represent changes in backend logic.

  • new required attributes
  • and removal of redundant attributes
  • explanation of new possible errors for missing required attributes

{
"binary_app_id": 123,
"url": "https://upload.test.io/direct",
"url": "https://my-bucket.s3.eu-west-1.amazonaws.com",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the url that a user will get?

@danielvysotskyi danielvysotskyi Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes that is upload url for S3, that is direct upload to S3 that bypass our infrastructure so here will be AWS link not ours
also that is a reason why we should do 3-rd step with metadata for carierwave that connects each step and provide public url for download

@danielvysotskyi danielvysotskyi Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our part here are signature attribute and policy where we provide limitation for upload.
all those fields that we returns with presigned url like a signature for document, that like tell AWS "yes you can allow upload this time, here you have my signature as proof"

@danielvysotskyi
danielvysotskyi merged commit 565bba3 into main Nov 12, 2025
4 checks passed
@danielvysotskyi
danielvysotskyi deleted the binary_apps/presigned_link_flow_improvements branch November 12, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants