fix: reapply-storage-policy
This commit is contained in:
1 parent
621b535dde
commit
2dda19aafe
12 files changed
+104
-10
No files matched your search
@@ -42,9 +42,13 @@ service SessionRecordingService {
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "Download returns the contents of the specified resource in the specified mime type. Supports both Session ID and Session recording ID for looking up a Session recording. Supports both Connection ID and Connection recording ID to look up a Connection recording. A Channel recording ID is required to look up a Channel recording. The only supported mime type is \"application/x-asciicast\"."};
|
||||
}
|
||||
|
||||
// ReApplyStoragePolicy calculates the resultant set of policy for a given session recording
|
||||
// and updates the retain until and delete after values. The provided request
|
||||
// must include the Session recording ID for the Session recording to be updated. If that ID
|
||||
// is missing, malformed or reference a non existing resource, an error is returned.
|
||||
rpc ReApplyStoragePolicy(ReApplyStoragePolicyRequest) returns (ReApplyStoragePolicyResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v1/session-recordings/{id}:reapply-storage-policy"
|
||||
post: "/v1/session-recordings/{id}:reapply-storage-policy"
|
||||
response_body: "item"
|
||||
};
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {summary: "ReApplyStoragePolicy will recalculate the resultant set of policy and apply the result to the given session recording."};
|
||||
|
||||
Reference in new issue
Block a user