{ "server": { "listen": "0.0.0.0", "port": 3000 }, "log": { "level": "debug", "timestamp": "DD.MM.YYYY HH:mm:ss:SS" }, "api": [ { "url": "/tail", "method": "get", "command": "tail", "args": [ "-f", "/tmp/test" ], "options": { "detach": true, "unique": "toggle" } }, { "url": "/uptime", "method": "get", "command": "uptime", "args": [] }, { "url": "/systemctl/docker", "method": "get", "command": "systemctl", "args": [ "is-active", "code-server@velvettear" ] }, { "url": "/systemctl/docker/start", "method": "post", "command": "systemctl", "args": [ "start", "code-server@velvettear" ] }, { "url": "/systemctl/docker/stop", "method": "post", "command": "systemctl", "args": [ "stop", "code-server@velvettear" ] } ] }