Skip to content

Commit

Permalink
feat: Allow prefix path segments for gRPC http paths.
Browse files Browse the repository at this point in the history
Bug: b/313452343
Change-Id: Ic92fafc77d57a91e1511fd4d7d8d43bcc53f472a
GitOrigin-RevId: 05b5aea2b34e5d6d890aa21e9286520e5a2678dd
  • Loading branch information
lusayaa authored and Privacy Sandbox Team committed Nov 27, 2023
1 parent 92c12e9 commit aecccf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/query/get_values.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ service KeyValueService {
// V1 Query API as described in
// https://github.com/WICG/turtledove/blob/main/FLEDGE_Key_Value_Server_API.md
rpc GetValues(GetValuesRequest) returns (GetValuesResponse) {
option (google.api.http) = {get: "/v1/getvalues"};
option (google.api.http) = {
get: "/v1/getvalues"
additional_bindings {get: "/**/v1/getvalues"}
};
}
}

Expand Down
1 change: 1 addition & 0 deletions public/query/v2/get_values_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ service KeyValueService {
option (google.api.http) = {
put: "/v2/getvalues"
body: "raw_body"
additional_bindings {put: "/**/v2/getvalues"}
};
}

Expand Down

0 comments on commit aecccf9

Please sign in to comment.