{ "swagger" : "2.0", "info" : { "description" : "api_hs_01", "version" : "1.0.0", "title" : "Panel Diagnostics API", "contact" : { "email" : "andreas@homesecure.ie" }, "license" : { "name" : "Apache 2.0", "url" : "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "host" : "homeconnect.homesecure.link", "basePath" : "/api", "tags" : [ { "name" : "users", "description" : "Operations available to regular users" },{ "name" : "developers", "description" : "Operations available to regular developers" } ], "schemes" : [ "https" ], "paths" : { "/api_hs01.php" : { "get" : { "tags" : [ "users" ], "summary" : "returns diagnostics for specifig account", "description" : "by passing the parameter acc , request specific diagnostics\n", "operationId" : "hs_api_01.php", "produces" : [ "application/json" ], "parameters" : [ { "name" : "acc", "in" : "query", "description" : "pass account nbr", "required" : true, "type" : "string" }, { "name" : "uid", "in" : "query", "description" : "pass user id", "required" : true, "type" : "string" }], "responses" : { "200" : { "description" : "search results matching criteria", "schema" : { "type" : "array", "items" : { "$ref" : "#/definitions/HC_API_DIAG01" } } }, "400" : { "description" : "bad input parameter" } } } } }, "definitions" : { "HC_API_DIAG01" : { "type" : "object", "required" : [ "Paneltime", "Panel Serial", "Panel System Message", "WiFi SSID" ], "properties" : { "Paneltime" : { "type" : "string", "format" : "date-time", "example" : "05-07-2019 11:19:22" }, "Panel Serial" : { "type" : "string", "example" : "551367320604" }, "Panel System Message" : { "type" : "string", "example" : "NULL" }, "WiFi SSID" : { "type" : "string", "example" : "Hs-97c" }, "WiFi pw" : { "type" : "string", "example" : "hoec" }, "WiFi Securitymode" : { "type" : "string", "example" : "WPA2 Passphrase" }, "WiFi enabled" : { "type" : "string", "example" : "ON" }, "Zone Names" : { "$ref" : "#/definitions/ZoneNames" } } }, "ZoneNames" : { "type" : "object" } } } {"HC_API_LOG01":{"api_version":"1.5","Panel Serial":"9999999999","Max Nbr of Events":null,"Nbr of Events":null,"Last Event Nbr":null,"Oldest Event Nbr":null,"Panel Events Array":null}}