Dropbox

Field Required Type Default Description
type Required String "dropbox"
oauth_access_token Optional String Dropbox OAUTH token
auth_secret Optional String ImpossibleFX auth secret
filename Required String Filename for the destination object

Authorization

Authorization via OAUTH2

In order to upload videos to a user's channel you need to obtain permission from this user. Please Dropbox's Using OAuth 2.0 with the Core API on how to obtain an OAuth access token.

Authoriation via auth_secret

In order to avoid obtaining an OAuth access token for uploading videos to your own dropbox account, you can give us permission to perform certain operations in your Dropbox account on your behalf. To enable this, you must first get an "auth_secret" by visiting our OAuth permission application. Depending on the type (scope) of the operation to be performed on your behalf, visit one the following links, and follow the instructions

URL Permissions
https://oauth.impossible.io/dropbox/authorize/ Full access

Example Request


curl -X POST
     -H "Content-type: application/json"
     http://render.impossible.io/v2/render/Project-ID -d '
{
    "movie": "Movie Name",
    "params": {
        Movie Parameters
    },
    "upload": {
        "extension": "mp4",
        "destination":  {
            "type": "dropbox",
            "oauth_token": "OAuth token with upload permission",
            "auth_secret": "Authorize via this auth_secret instead of OAuth",
            "filename": "filename",
        }   
    }
}'

Example Response

{
    "token": Token,
    "upload": "OK"
}    

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.