{ "server": { "listen": "0.0.0.0", "port": 3000, "timestamp": "DD.MM.YYYY HH:mm:ss:SS" }, "log": { "level": "info" }, "api": { "get": { "description": "show this page" }, "post": { "mode": { "available": "set, morph, pulse", "default": "set", "description": "specifies the color change mode" }, "color": { "available": "random, hex color codes (#ffffff), rgb color codes (255, 255, 255)", "default": "random", "description": "specifies the color to change to" }, "duration": { "available": "number values", "default": 1000, "description": "specifies the duration of the color change animation in milliseconds" }, "steps": { "available": "number values", "default": "[duration] / 10", "description": "specifies the amount of steps for the color change" }, "pulses": { "restrictions": "pulse", "available": "number values", "default": "0 (infinite)", "description": "specifies the number of pulses" } } } }