divviup / janus

Experimental implementation of the Distributed Aggregation Protocol (DAP) specification.
Mozilla Public License 2.0
52 stars 14 forks source link

Aggregator API should return errors in problem details form #1960

Closed inahga closed 5 days ago

inahga commented 1 year ago

Should the aggregator API return errors in problem details form, described in https://www.rfc-editor.org/rfc/rfc7807?

This would make it consistent with how the DAP API returns errors, and provide a more uniform interface for us to give helpful error messages.

inahga commented 5 days ago

This is still applicable, but we aren't planning on fixing it right now. We effectively use it as an internal API, so its outward facing semantics are not as important.