Move File¶
Move the file.
Request format¶
GET http://{apigw-address}/dfs-api/v1.0/move
Request parameters (URI)¶
Name |
Location (Path/Query) |
Required or not |
Data type |
Description |
---|---|---|---|---|
tenant |
Query |
True |
String |
Tenant name |
sourcePath |
Query |
True |
String |
Source file path |
sourceFileName |
Query |
True |
String |
Source file name, including its extension |
targetPath |
Query |
True |
String |
Target path |
loginTenant |
Query |
True |
String |
Currently logged-in tenant |
Response parameters¶
Name |
Data type |
Description |
---|---|---|
status |
Int |
Status code |
msg |
String |
Response message |
submsg |
String |
Response sub-message |
data |
Null |
Response data |
Sample¶
Request sample¶
GET http://{apigw-address}/dfs-api/v1.0/download?tenant=EDGE&sourcePath=/path/&sourceFileName=sample.txt&targetPath=/pathTarget/&loginTenant=EDGE
Return sample¶
{
"status":0,
"msg":"success",
"submsg":"",
"data":null
}