Skip to content

Guidance for Uppy Companion (particularly for attaching by URL) #693

Answered by janko
Floppy asked this question in Q&A
Discussion options

You must be logged in to vote

Shrine's presign endpoint and uppy-s3_multipart gem reimplement certain parts of Uppy companion in Ruby. The Ruby endpoints quack like the Uppy Companion endpoints, so Uppy doesn't mind.

It seems you would need to reimplement the /url/meta and /url/get endpoints from the Companion, here is the controller – https://github.com/transloadit/uppy/blob/main/packages/%40uppy/companion/src/server/controllers/url.js. Then you need to set companionUrl to your app in the Url plugin settings.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Floppy
Comment options

Answer selected by Floppy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants