{ "name": "HttpCommander", "displayName": "Http Commander", "id": "4e62670c-6268-4487-8dff-cccca498731a", "vendors": [ { "displayName": "nymea", "name": "nymea", "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6", "thingClasses": [ { "id": "b101abdf-86fd-4d2e-a657-ee76044235bd", "name": "httpRequest", "displayName": "HTTP Request", "createMethods": ["user"], "interfaces": [ ], "paramTypes": [ { "id": "020f672e-cc9a-4b74-92dd-a92a93ab1d23", "name": "url", "displayName": "Address", "type": "QString", "inputType": "None", "defaultValue": "https://httpbin.org/get" }, { "id": "37830ea8-2249-46e6-aaca-12164928a81a", "name": "port", "displayName": "Port", "type": "int", "defaultValue": "443" } ], "stateTypes": [ { "id": "8daac0e7-4c2f-4cdf-b528-02cfe04c6b39", "name": "status", "displayName": "Status code", "displayNameEvent": "Status code changed", "type": "int", "defaultValue": 200 }, { "id": "69f32ec8-114d-43f4-9241-1f6a57261f32", "name": "response", "displayName": "Response", "displayNameEvent": "Response received", "type": "QString", "defaultValue": "" } ], "actionTypes": [ { "id": "5a97ca56-b334-411b-adba-116496ffe83d", "name": "request", "displayName": "Request", "paramTypes": [ { "id": "363119a3-c02c-4ed5-a915-11706198f3eb", "name": "body", "displayName": "Body", "type": "QString", "defaultValue": "" }, { "id": "9fc9948a-5995-48d2-94ce-3c1fd26f6181", "name": "method", "displayName": "Method", "type": "QString", "defaultValue": "GET", "allowedValues": [ "GET", "POST", "PUT", "DELETE" ] } ] } ] }, { "id": "56efcdc3-c769-4e25-8a5b-c0affe68252a", "name": "httpServer", "displayName": "HTTP Server", "createMethods": ["user"], "interfaces": [ "inputtrigger" ], "paramTypes": [ { "id": "438117cb-c2de-49d0-9f91-5988c17225f8", "name": "port", "displayName": "Port", "type": "int", "defaultValue": "8000" } ], "eventTypes": [ { "id": "86f794c6-31ad-40a8-928f-4b8802506ce1", "name": "triggered", "displayName": "Http request received", "paramTypes": [ { "id": "dd3c6033-0483-4237-ac15-7a64ae4dd29c", "name": "requestType", "displayName": "Request type", "type": "QString", "allowedValues": [ "GET", "POST", "PUT", "DELETE" ], "defaultValue": "GET" }, { "id": "c936810e-a73d-424f-8981-48baf0a440bb", "name": "body", "displayName": "Body", "type": "QString", "defaultValue": "" } , { "id": "0d4dc8f0-df0d-4fb0-b771-b62dee28a625", "name": "path", "displayName": "Path", "type": "QString", "defaultValue": "" } ] } ] } ] } ] }