Download File¶
Download the files into the specified directory.
Request Format¶
GET http://{apigw-address}/dfs-api/v1.0/download
Request Parameters (URI)¶
Name |
Location (Path/Query) |
Required or not |
Data type |
Description |
---|---|---|---|---|
tenant |
Query |
True |
String |
Tenant name |
filePath |
Query |
True |
String |
Target file path |
fileName |
Query |
True |
String |
Target file name, including its extension |
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&filePath=/path/&fileName=sample.txt&loginTenant=EDGE
Return Sample¶
{
"status":0,
"msg":"success",
"submsg":"",
"data":null
}