Docs
- Getting Started
- SME Uploader
- Companion
- List of Plugins
- Common Plugin Options
- Custom Stores
- Locale Packs
UI Elements
Sources
- Drag & Drop
- File Input
- Webcam
- Provider Plugins
- ⓒ Dropbox
- ⓒ Google Drive
- ⓒ OneDrive
- ⓒ Zoom
- ⓒ Import From URL
Destinations
File Processing
- Image Editor
- Robodog Introduction
- Robodog File Picker
- Robodog Form
- Robodog Upload
- Robodog Dashboard
- Transloadit
Miscellaneous
Contributing
Robodog: Upload API
Upload files straight to Transloadit from your own custom UI. Give us an array of files, and we’ll give you an array of results!
const resultPromise = Robodog.upload(files, { params: { auth: { key: '' }, template_id: '' } }); |
resultPromise
is a Promise that resolves with an object:
successful
- An array containing data about files that were uploaded successfullyfailed
- An array containing data about files that failed to uploadtransloadit
- An array of Assembly statuses
files
An array of File objects, obtained from an <input type="file">
or elsewhere.
These can also be Blobs with a .name
property. That way you can upload files that were created using JavaScript.
Transloadit
All the options to the Transloadit plugin are supported.
Found a mistake or want to help improve this documentation?
Edit/fork this page directly on Github