Skip to content

Commit

Permalink
(feat) endpoints for retrieving snapshot_data
Browse files Browse the repository at this point in the history
  • Loading branch information
tphoney committed Jul 10, 2024
1 parent f45d2d8 commit b3ee31e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions snapshots.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ service SnapshotsService {
rpc GetSnapshot(GetSnapshotRequest) returns (GetSnapshotResponse);
rpc UpdateSnapshot(UpdateSnapshotRequest) returns (UpdateSnapshotResponse);
rpc DeleteSnapshot(DeleteSnapshotRequest) returns (DeleteSnapshotResponse);
rpc ListSnapshotByGUN(ListSnapshotsByGUNRequest) returns (ListSnapshotsByGUNResponse);
rpc GetSnapshotData(GetSnapshotDataRequest) returns (GetSnapshotDataResponse);
}

///////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -121,3 +123,21 @@ message GetInitialDataResponse {
Snapshot blastRadiusSnapshot = 1;
bookmarks.Bookmark changingItemsBookmark = 2;
}

message ListSnapshotsByGUNRequest {
string account = 1;
string globallyUniqueName = 2;
}

message ListSnapshotsByGUNResponse {
repeated string UUIDs = 1;
}

message GetSnapshotDataRequest {
string account = 1;
string globallyUniqueName = 2;
}

message GetSnapshotDataResponse {
bytes data = 1;
}

0 comments on commit b3ee31e

Please sign in to comment.