Feature Request P2
Status Update
Comments
cl...@altirnao.com <cl...@altirnao.com> #2
I have forwarded this request to the engineering team. We will update this issue with any progress updates and a resolution.
Best Regards,
Josh Moyer
Google Cloud Platform Support
Best Regards,
Josh Moyer
Google Cloud Platform Support
dk...@google.com <dk...@google.com>
dk...@google.com <dk...@google.com>
cl...@altirnao.com <cl...@altirnao.com> #3
This is not only useful for IP addresses, but also for many other resources. I understand that names are currently used as identifiers, so this request is probably not trivial to implement. Maybe distinguishing between a (numeric, automatically generated) identifier and a (textual) label is the way to go?
Description
HTTP codes have very limited semantics, and messages are supposed to be user oriented (even internationalized), so they are not good identifiers.
Google APIs provide a "reason" field, that can be used to easily identify error type.
This feature should be added to the Cloud Endpoints, maybe with new constructors in com.google.api.server.spi.ServiceException.