POST api/Import/ImportFiles
Importing files by direct links
Request Information
URI Parameters
None.
Body Parameters
Directories with files to be imported
ImportPathsName | 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
ObjResultOfStringName | Description | Type | Additional information |
---|---|---|---|
Data | string |
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": "sample string 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. |