2018-07-21 15:01:53 +08:00
|
|
|
{
|
|
|
|
"common": {
|
|
|
|
"name": "simple-api",
|
|
|
|
"version": "2.0.0",
|
|
|
|
"title": "simpleAPI Adapter",
|
|
|
|
"desc": "This adapter allows to read and write yunkong2 objects and state with web RESTful API",
|
|
|
|
"authors": [
|
|
|
|
"bluefox <dogafox@gmail.com>",
|
|
|
|
"Apollon77 <ingo@fischer-ka.de>"
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
|
|
|
"platform": "Node.js",
|
|
|
|
"mode": "daemon",
|
|
|
|
"loglevel": "info",
|
|
|
|
"icon": "simple-api.png",
|
|
|
|
"webExtension": "lib/simpleapi.js",
|
|
|
|
"readme": "https://git.spacen.net/yunkong2/yunkong2.simple-api/blob/master/README.md",
|
|
|
|
"keywords": ["web", "simpleAPI", "RESTful", "communication"],
|
|
|
|
"enabled": true,
|
|
|
|
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.simple-api/raw/master/admin/simple-api.png",
|
|
|
|
"type": "communication",
|
|
|
|
"stopBeforeUpdate": true,
|
|
|
|
"localLink": "%protocol%://%ip%:%port%/get/system.adapter.simple-api.%instance%.uptime?prettyPrint",
|
|
|
|
"dependencies": [{"js-controller": ">=0.15.0"}]
|
|
|
|
},
|
|
|
|
"native": {
|
|
|
|
"port": 8087,
|
|
|
|
"auth": false,
|
|
|
|
"secure": false,
|
|
|
|
"bind": "0.0.0.0",
|
|
|
|
"certPublic": "",
|
|
|
|
"certPrivate": "",
|
|
|
|
"certChained": "",
|
|
|
|
"defaultUser": "admin",
|
|
|
|
"onlyAllowWhenUserIsOwner": false,
|
|
|
|
"webInstance": "",
|
|
|
|
|
|
|
|
"leEnabled": false,
|
|
|
|
"leUpdate": false,
|
|
|
|
"leCheckPort": 80
|
|
|
|
}
|
|
|
|
}
|