{ "swagger" : "2.0", "info" : { "description" : "USync Update WiFi Details", "version" : "1.0.0", "title" : "HC_API_ACT02", "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_update_wifi.php" : { "get" : { "tags" : [ "users" ], "summary" : "updates wifi details of panel", "description" : "update wifi details of panel by passing the parameters \n", "operationId" : "api_update_wifi.php", "produces" : [ "application/json" ], "parameters" : [ { "name" : "acc", "in" : "query", "description" : "pass account nbr", "required" : true, "type" : "string"}, {"name" : "w1", "in" : "query", "description" : "WiFi SSID", "required" : true, "type" : "string", }, {"name" : "w2", "in" : "query", "description" : "WiFi Password", "required" : true, "type" : "string", }], "responses" : { "200" : { "description" : "search results matching criteria", "schema" : { "type" : "array", "items" : { "$ref" : "#/definitions/HC_API_ACT02" } } }, "400" : { "description" : "bad input parameter" } } } } }, "definitions" : { "HC_API_ACT02" : { "type" : "object", "required" : [ "API Type", "Panel Serial", "Request Result", "WiFi SSID", "WiFi PW", "WiFi Security" ], "properties" : { "API Type" : { "type" : "string", "example" : "WiFiUpdate" }, "Panel Serial" : { "type" : "string", "example" : "551367320604" }, "Request Result" : { "type" : "string", "example" : "Success" }, "WiFi SSID" : { "type" : "string", "example" : "SSID" }, "WiFi PW" : { "type" : "string", "example" : "password" }, "WiFi Security" : { "type" : "string", "example" : "1" } } } } } {"HC_API_WIFI":{"API Type":"WiFiUpdate","Panel Serial":"9999999999","Request Result":null,"WiFi SSID":"","WiFi PW":"","WiFi Security":null,"WiFi enabled":null}}