List custom files from the '/var/log/files' directory
GET/v1/edge-mgmt/edgehosts/current/file-download/files
Lists all the first level files from the '/var/log/files' directory.
Responses
- 200
- 404
- 500
- default
A list of files with metadata.
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
files
object[]
creationTimestampdate-time
fileNamestring
lastModifiedTimestampdate-time
sizestring
{
  "files": [
    {
      "creationTimestamp": "2024-07-29T15:51:28.071Z",
      "fileName": "string",
      "lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
      "size": "string"
    }
  ]
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
  "code": "string",
  "details": {},
  "message": "string",
  "ref": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
  "code": "string",
  "details": {},
  "message": "string",
  "ref": "string"
}
generic error response
- application/json
- Schema
Schema
string
Loading...