Skip to content

Commit

Permalink
add rename proto
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjperez committed Apr 22, 2024
1 parent 6dcc42f commit 54f4032
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions proto/viam/app/v1/app.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -678,6 +681,7 @@ message GetRobotAPIKeysResponse {
repeated APIKeyWithAuthorizations api_keys = 1;
}


message DeleteRobotPartResponse {}

message Fragment {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 54f4032

Please sign in to comment.