Description of problem: Validation errors on API requests have a different response format from other errors (e.g. resource not found). We should consistently use one format for reporting API errors to client applications. Actual results: Validation errors are reported as <errors> <error> <message>Catalog name has already been taken</message> </error> </errors> Expected results: Validation errors should be reported as <error> <code>ValidationError</code> <message>Catalog name has already been taken</message> </error>
Solution posted as pull request: https://github.com/aeolusproject/conductor/pull/104
It was concluded on IRC that we'll postpone this for now and fix it for v2 of the API (that should come with CF 2.0?). If we fixed it now, then API that was already published as part of CF 1.0 would be broken by the change.