diff --git a/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto b/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto index 3838a767b693846d25cb963b8743e7ef3336bc43..55b70e2a76b13e4733e7d955b7a192b742b11387 100644 --- a/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto +++ b/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto @@ -27,6 +27,10 @@ service SubscriptionManagementService { body: "*" }; } + + rpc ResetAllSubscriptions(ResetAllSubscriptionsRequest) returns (ResetAllSubscriptionsResponse) { + option (google.api.http) = {get: "/submanagement/reset"}; + } } message Subscription{ @@ -81,3 +85,11 @@ message AddRequest{ message AddResponse{ int64 timestamp = 1; } + +message ResetAllSubscriptionsRequest { + int64 timestamp = 1; +} + +message ResetAllSubscriptionsResponse { + int64 timestamp = 1; +}