File tree Expand file tree Collapse file tree
temporal/api/operatorservice/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,12 +25,26 @@ service OperatorService {
2525 // Returns ALREADY_EXISTS status code if a Search Attribute with any of the specified names already exists
2626 // Returns INTERNAL status code with temporal.api.errordetails.v1.SystemWorkflowFailure in Error Details if registration process fails,
2727 rpc AddSearchAttributes (AddSearchAttributesRequest ) returns (AddSearchAttributesResponse ) {
28+ option (google.api.http ) = {
29+ post : "/cluster/namespaces/{namespace}/search-attributes"
30+ body : "*"
31+ additional_bindings {
32+ post : "/api/v1/namespaces/{namespace}/search-attributes"
33+ body : "*"
34+ }
35+ };
2836 }
2937
3038 // RemoveSearchAttributes removes custom search attributes.
3139 //
3240 // Returns NOT_FOUND status code if a Search Attribute with any of the specified names is not registered
3341 rpc RemoveSearchAttributes (RemoveSearchAttributesRequest ) returns (RemoveSearchAttributesResponse ) {
42+ option (google.api.http ) = {
43+ delete : "/cluster/namespaces/{namespace}/search-attributes"
44+ additional_bindings {
45+ delete : "/api/v1/namespaces/{namespace}/search-attributes"
46+ }
47+ };
3448 }
3549
3650 // ListSearchAttributes returns comprehensive information about search attributes.
You can’t perform that action at this time.
0 commit comments