Skip to content
On this page

List configuration files

Endpoint

GET /v1/configfiles

Returns a list of standard and critical configuration files from a Raspberry Pi, and indicates which files are missing, if any

Responses

json
{
   "isFilesMissing":{
      "type":"bool"
   },
   "isCriticalFilesMissing":{
      "type":"bool"
   },
   "filesMissing":{
      "type":"array",
      "items":{
         "type":"string",
      }
   },
   "criticalFilesMissing":{
      "type":"array",
      "items":{
         "type":"string",
      }
   },
   "configFiles":{
      "type":"array",
      "items":{
         "type":"object",
         "properties":{
            "name":"string",
            "path":"string",
            "isCritical":"bool",
            "description":"string",
            "isExist":"bool",
            "lastModified":"uint64",
            "size":"int64",
         }
      }
   },
}