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.
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
andSuccess
types as response values.Ideally the
setStatus
function should be provided with a simplemessage
field that can be displayed in UI. There might also be need for other fields.