From 54f403260960c21379372cc9047f214645d045bb Mon Sep 17 00:00:00 2001 From: Matthew J Perez Date: Mon, 22 Apr 2024 16:58:49 -0400 Subject: [PATCH] add rename proto --- proto/viam/app/v1/app.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/proto/viam/app/v1/app.proto b/proto/viam/app/v1/app.proto index 6b0d20b2a..a525711fa 100644 --- a/proto/viam/app/v1/app.proto +++ b/proto/viam/app/v1/app.proto @@ -124,6 +124,9 @@ service AppService { // Gets the Robot API Keys for the robot rpc GetRobotAPIKeys(GetRobotAPIKeysRequest) returns (GetRobotAPIKeysResponse); + // Rename an API Key + rpc RenameAPIKey(RenameAPIKeyRequest) returns (RenameAPIKeyResponse); + // Marks the given part as the main part, and all the others as not rpc MarkPartAsMain(MarkPartAsMainRequest) returns (MarkPartAsMainResponse); @@ -678,6 +681,7 @@ message GetRobotAPIKeysResponse { repeated APIKeyWithAuthorizations api_keys = 1; } + message DeleteRobotPartResponse {} message Fragment { @@ -1162,6 +1166,13 @@ message DeleteKeyRequest { message DeleteKeyResponse {} +message RenameKeyRequest { + string id = 1; + string token_name = 2; +} + +message RenameKeyResponse {} + message AuthorizationDetails { string authorization_type = 1; string authorization_id = 2;