Download a custom file from the user-defined or default directory
GET/v1/edge-mgmt/edgehosts/current/file-download/:filePath
Downloads a file from the /var/log/files
directory. The file path is expected to be relative to the /var/log/files
directory.
Request
Path Parameters
filePath stringrequired
Relative path of the file to download.
Responses
- 200
- 404
- 500
- default
File downloaded successfully
Response Headers
Content-Disposition
string
Specifies the filename for the downloaded file.
- application/octet-stream
- application/json
- Schema
Schema
string
- Schema
Schema
string
Not found
- application/octet-stream
- application/json
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
Internal server error
- application/octet-stream
- application/json
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
generic error response
- application/octet-stream
- application/json
- Schema
Schema
string
- Schema
Schema
string
Loading...