POST api/Import/ImportDropboxFiles
Importing files from Dropbox
Request Information
URI Parameters
None.
Body Parameters
Links to the imported files
ImportPaths| Name | Description | Type | Additional information |
|---|---|---|---|
| Paths |
A list of paths to the files to be imported. When importing files from the file system, file paths are used. When importing from Dropbox, Dropbox links to files are used. |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"paths": [
"sample string 1",
"sample string 2"
]
}
Response Information
Resource Description
Result containing the import session ID
ObjResultOfInt64| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | integer |
None. |
|
| Error |
Error description |
string |
None. |
| Success |
Flag of successful operation |
boolean |
None. |
| ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": 1,
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
data
Directories with files to be imported
| Property | Description |
|---|---|
| Paths (String[]) |
A list of paths to the files to be imported. When importing files from the file system, file paths are used. When importing
from Dropbox, Dropbox links to files are used.
|