diff --git a/temporal/api/operatorservice/v1/service.proto b/temporal/api/operatorservice/v1/service.proto index bcf5ab04b..34927601a 100644 --- a/temporal/api/operatorservice/v1/service.proto +++ b/temporal/api/operatorservice/v1/service.proto @@ -25,12 +25,26 @@ service OperatorService { // Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists // Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails, rpc AddSearchAttributes (AddSearchAttributesRequest) returns (AddSearchAttributesResponse) { + option (google.api.http) = { + post: "/cluster/namespaces/{namespace}/search-attributes" + body: "*" + additional_bindings { + post: "/api/v1/namespaces/{namespace}/search-attributes" + body: "*" + } + }; } // RemoveSearchAttributes removes custom search attributes. // // Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered rpc RemoveSearchAttributes (RemoveSearchAttributesRequest) returns (RemoveSearchAttributesResponse) { + option (google.api.http) = { + delete: "/cluster/namespaces/{namespace}/search-attributes" + additional_bindings { + delete: "/api/v1/namespaces/{namespace}/search-attributes" + } + }; } // ListSearchAttributes returns comprehensive information about search attributes.