[Hawkular-dev] REST ideas

Viliam Rockai vrockai at redhat.com
Fri Feb 13 09:08:34 EST 2015


Hey all,

Another REST issue we should agree on: The standard for error responses.
I've found, that there are several standards we can follow (or create
our own):
http://stackoverflow.com/a/14538774/3252949

In my opinion it's fine to stick with the JSON API:
http://jsonapi.org/format/#errors

or stick with even simpler google style guide:
https://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml?showone=error#error

WDYT?

Viliam



More information about the hawkular-dev mailing list