Skip to content

Commit

Permalink
chore: change http method and params
Browse files Browse the repository at this point in the history
  • Loading branch information
batrov committed Nov 29, 2023
1 parent 92c16cc commit d27f456
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions gotocompany/compass/v1beta1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ service CompassService {

rpc SyncAssets(SyncAssetsRequest) returns (SyncAssetsResponse) {
option (google.api.http) = {
get: "/v1beta1/assets/sync"
post: "/v1beta1/assets/sync"
};

option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
Expand Down Expand Up @@ -1212,10 +1212,12 @@ message CreateAssetProbeResponse {
string id = 1;
}

message SyncAssetsRequest {}
message SyncAssetsRequest {
repeated string index_names = 1;
}

message SyncAssetsResponse {
uint32 num_affected = 1;
string job_id = 1;
}

message GetUserStarredAssetsRequest {
Expand Down

0 comments on commit d27f456

Please sign in to comment.