Skip to content
Account

Soft Migration

Enable this option in your dashboard to process files that were uploaded by another system. This is useful when you already have files uploaded and want to integrate Default Uploader into your application.

For example, if you have a bucket with files structured like this:

  • Directorybucket/ — root folder of the bucket
    • Directorymysite.com — first level of nesting
      • Directorycats — second level of nesting
        • Directoryimage — third…
          • Directoryn… — any level of nesting
            • file.jpg — file name

To retrieve a file, you need to construct a GET request:

  • Insert the entire path from the root folder in the bucket after CLIENT_TOKEN.
METHOD: GET
https://api.defaultuploader.com/v1/MIME_TYPE/upload/CLIENT_TOKEN/mysite.com/cats/image/n.../file.jpg
MIME_TYPE — you can specify any of (image | video | audio)
Transformations will work regardless of the specified value.

And with a simple addition of a parameter, you can easily transform the file!