Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions temporal/api/operatorservice/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading