When using google.api.http
annotations, some paths are reserved for internal use
#11
Labels
google.api.http
annotations, some paths are reserved for internal use
#11
What is the limitation?
In Reboot, legacy gRPC service methods can specify
google.api.http
annotations that permit that gRPC method to be called as a JSON API. For example:However, Reboot reserves some paths for internal use. Specifically, the following paths cannot be used by an application:
/
(but more-specific sub-paths like/foo
are OK)./__/**
(where**
means "whatever follows")Reboot applications must avoid using reserved paths in their
google.api.http
annotations.How do I know if I've hit this limitation?
If an application attempts to use a reserved path, an error will be output before the application starts:
What do I do if I've hit this limitation?
1. Send feedback!
Please comment below, and share your use-case! We prioritize work based on user feedback, so letting us know that this limitation is affecting you, and why, helps us get the most important issues dealt with first!
2. Consider solutions or workarounds
Using an alternative path
Consider whether there is an alternative path that could work for the method. For example, instead of using
/__/my/path
, would it be possible to use/__internal__/my/path
?The text was updated successfully, but these errors were encountered: