This component offers a simple restAPI to control a presetManager.
POST and DELETE-Endpoints take json-formatted strings.
Parameters:
- Manager : The presetManager.
- Active: Active webserver.
- Restart: Restarts the Webserver.
- Port: At which port is the presetManager rechable.
Endpoints:
- POST /store_preset
Stores a preset.
{ "name" : name of the preset }
- POST /preset
Recalls a preset.
{ "name" : name of the preset, "time" : time to recall }
- GET /preset
Returns all presets available as a json-encoded list.
- GET /preview/:preset
Returns a preview-image of the preset
- DELETE /preset
Removes the preset
{ "name" : Name of the preset }