Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit aecccf9

Browse files
lusayaacopybara-github
authored andcommitted
feat: Allow prefix path segments for gRPC http paths.
Bug: b/313452343 Change-Id: Ic92fafc77d57a91e1511fd4d7d8d43bcc53f472a GitOrigin-RevId: 05b5aea2b34e5d6d890aa21e9286520e5a2678dd
1 parent 92c12e9 commit aecccf9

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎public/query/get_values.proto‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ service KeyValueService {
2424
// V1 Query API as described in
2525
// https://github.com/WICG/turtledove/blob/main/FLEDGE_Key_Value_Server_API.md
2626
rpc GetValues(GetValuesRequest) returns (GetValuesResponse) {
27-
option (google.api.http) = {get: "/v1/getvalues"};
27+
option (google.api.http) = {
28+
get: "/v1/getvalues"
29+
additional_bindings {get: "/**/v1/getvalues"}
30+
};
2831
}
2932
}
3033

‎public/query/v2/get_values_v2.proto‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ service KeyValueService {
3636
option (google.api.http) = {
3737
put: "/v2/getvalues"
3838
body: "raw_body"
39+
additional_bindings {put: "/**/v2/getvalues"}
3940
};
4041
}
4142

0 commit comments

Comments
 (0)