Skip to main content

dropbox

5 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("dropbox", [
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("dropbox", [
// root path for dropbox.
// ("root".to_string(), "...".to_string()),

// access token for dropbox.
// ("access_token".to_string(), "...".to_string()),

// refresh_token for dropbox.
// ("refresh_token".to_string(), "...".to_string()),

// client_id for dropbox.
// ("client_id".to_string(), "...".to_string()),

// client_secret for dropbox.
// ("client_secret".to_string(), "...".to_string()),

])?;

Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.

Configuration reference

General5
KeyTypeRequiredDescription
rootstringnoroot path for dropbox.
access_tokenstringnoaccess token for dropbox.
refresh_tokenstringnorefresh_token for dropbox.
client_idstringnoclient_id for dropbox.
client_secretstringnoclient_secret for dropbox.