LiquidAI-project / wasmiot-orchestrator

MIT License
0 stars 1 forks source link

API should return statuses on whether an operation failed or succeeded #52

Closed trkks closed 1 year ago

trkks commented 1 year ago

Paths that do some actions (POST) should return status on whether the action succeeded. This has been started on, but I'd say most routes do not use the current Error and Success types as response values.

Ideally the setStatus function should be provided with a simple message field that can be displayed in UI. There might also be need for other fields.