Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ehhong committed Jan 27, 2025
1 parent a51e4e0 commit 705b59d
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions proto/viam/app/v1/app.proto
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ service AppService {
// Gets a single fragment
rpc GetFragment(GetFragmentRequest) returns (GetFragmentResponse);

// Gets usage for a fragment across versions
rpc GetFragmentUsage(GetFragmentUsageRequest) returns (GetFragmentUsageResponse);

// Creates a fragment
rpc CreateFragment(CreateFragmentRequest) returns (CreateFragmentResponse);

Expand Down Expand Up @@ -836,8 +833,6 @@ message FragmentRevision {
message FragmentTag {
string tag = 1;
string revision = 2;
google.protobuf.Timestamp created_at = 3;
google.protobuf.Timestamp updated_at = 4;
}

enum FragmentVisibility {
Expand Down Expand Up @@ -867,7 +862,7 @@ message FragmentUsage {
int32 organizations = 2;
int32 machines = 3;
int32 machines_in_current_org = 4;
string version = 5;
optional string version = 5; // revision or tag
}

message ResolvedFragment {
Expand All @@ -890,7 +885,7 @@ message ListFragmentsResponse {
message GetFragmentRequest {
string id = 1;
string current_organization_id = 2;
optional string version = 3;
optional string version = 3; // revision or tag
}

message GetFragmentResponse {
Expand All @@ -900,14 +895,6 @@ message GetFragmentResponse {
repeated FragmentTag tags = 4;
}

message GetFragmentUsageRequest {
string fragment_id = 1;
}

message GetFragmentUsageResponse {
repeated FragmentUsage version_usages = 1;
}

message CreateFragmentRequest {
string name = 1;
google.protobuf.Struct config = 2;
Expand Down

0 comments on commit 705b59d

Please sign in to comment.