[atlas] Implementing structured error reports ("Problem Details for HTTP APIs")?
- Previous message (by thread): [atlas] Implementing structured error reports ("Problem Details for HTTP APIs")?
- Next message (by thread): [atlas] Implementing structured error reports ("Problem Details for HTTP APIs")?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jasper den Hertog
jdenhertog at ripe.net
Mon Feb 22 12:07:18 CET 2016
The 'new and standard' way of structuring API requests and output is here, that I/We am/are trying to adhere to is here: http://jsonapi.org/ <http://jsonapi.org/> For errors especially: http://jsonapi.org/format/#errors <http://jsonapi.org/format/#errors> greetings, Jasper > On 22 Feb 2016, at 12:03, Robert Kisteleki <robert at ripe.net> wrote: > > On 2016-02-22 11:08, Stephane Bortzmeyer wrote: >> Hello, >> >> IETF approved the future RFC draft-ietf-appsawg-http-problem "Problem >> Details for HTTP APIs" which standardize structured error reports (in >> JSON) to add machine-readable information to HTTP error codes. >> >> Would it be a good idea to convert current Atlas reports >> ({"error":{"status":400,"code":104,"detail":"__all__: Your selected >> prefix is not covered by our network.","title":"Bad Request"}}) to the >> new and standard format? > > Thanks for the heads up! We'll look at this, most likely when it actually > becomes an RFC :) > > Regards, > Robert > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.ripe.net/ripe/mail/archives/ripe-atlas/attachments/20160222/d8287f83/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2619 bytes Desc: not available URL: <https://lists.ripe.net/ripe/mail/archives/ripe-atlas/attachments/20160222/d8287f83/attachment.p7s>
- Previous message (by thread): [atlas] Implementing structured error reports ("Problem Details for HTTP APIs")?
- Next message (by thread): [atlas] Implementing structured error reports ("Problem Details for HTTP APIs")?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]