Requesting errors from Pulp's REST API be returned in JSON format in a standardized manner. Most expected errors return a body message: $ curl -k -u admin:admin https://localhost/pulp/api/repositories/kgems-1234777/sync/ed50d051-4108-11e0-89b7-00219b3b5088/ "No sync with id ed50d051-4108-11e0-89b7-00219b3b5088 found" but ideally if there are expected errors we could use a JSON message format: {error-name: "sync-not-found", message: "No sync with id ed50d051-4108-11e0-89b7-00219b3b5088 found"} or something similar. This would make handing exceptions much easier from a caller's perspective.
Closing with Community Release 15 pulp-0.0.223-4.