Dropbox
Supports:
- ✅ Models
- ✅ Model sync destination
- ✅ Bulk sync source
- ✅ Bulk sync destination
Connection
Configuration
| Name | Type | Description | Required |
|---|---|---|---|
app_key | string | false | |
app_secret | string | false | |
bucket | string | Folder | true |
directory_glob_pattern | string | Tables glob path | false |
is_directory_snapshot | boolean | Multi-directory multi-table | false |
is_single_table | boolean | Files are time-based snapshots Treat the files as a single table. | false |
oauth_refresh_token | string | false | |
single_table_file_format | string | File format Accepted values: csv, json, parquet | false |
single_table_name | string | Collection name | false |
skip_lines | integer | Skip first lines Skip first N lines of each CSV file. | false |
Example
1 { 2 "name": "Dropbox connection", 3 "type": "dropbox", 4 "configuration": { 5 "app_key": "a45gadsfdsaf47byor2ugfbhsgllpf12gf56gfds", 6 "app_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", 7 "bucket": "my-folder", 8 "directory_glob_pattern": "", 9 "is_directory_snapshot": false, 10 "is_single_table": false, 11 "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", 12 "single_table_file_format": "csv", 13 "single_table_name": "collection", 14 "skip_lines": 0 15 } 16 }
Model Sync
Source
Configuration
| Name | Type | Description | Required |
|---|---|---|---|
file_format | string | File format Accepted values: csv, json, parquet | false |
key | string | Object key The key of the object in the bucket to read from. | false |
model_from | string | Files The model is generated from a single file or a multi-file archive. Accepted values: single_file, multi_file_archive | true |
skip_lines | integer | Skip first lines Skip first N lines of each CSV file. | false |
subfolder | string | Subfolder to read files from from (optional) | false |
Example
1 { 2 ... 3 "configuration": { 4 "file_format": "", 5 "key": "", 6 "model_from": "", 7 "skip_lines": 0, 8 "subfolder": "" 9 } 10 }
Target
Dropbox connections may be used as the destination in a model sync.
All targets
Configuration
| Name | Type | Description | Required |
|---|---|---|---|
format | string | Output format Output file encoding. Accepted values: csv, json-doc, json, parquet | false |
Example
1 { 2 ... 3 "target": { 4 "configuration": { 5 "format": "csv" 6 } 7 } 8 }
Bulk Sync
Destination
Configuration
| Name | Type | Description | Required |
|---|---|---|---|
format | string | Output file encoding | false |
subfolder | string | Subfolder to write to (optional) | false |
Example
1 { 2 ... 3 "destination_configuration": { 4 "format": "csv", 5 "subfolder": "reports" 6 } 7 }
