From 45b610e5cc81d3501134367499483d616698086a Mon Sep 17 00:00:00 2001 From: Dylan Ratcliffe Date: Tue, 13 Aug 2024 10:14:58 +0000 Subject: [PATCH] Added pagination to list snapshots by GUN This is required as there could be many, MANY of these. Relates to: https://github.com/overmindtech/gateway/issues/646 --- snapshots.proto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapshots.proto b/snapshots.proto index 49ee7c1..3085b4b 100644 --- a/snapshots.proto +++ b/snapshots.proto @@ -5,6 +5,7 @@ package snapshots; import "google/protobuf/timestamp.proto"; import "bookmarks.proto"; import "items.proto"; +import "util.proto"; // ___ .---------.._ // ______!fsc!_....-' .g8888888p. '-------....._ @@ -125,8 +126,10 @@ message GetInitialDataResponse { message ListSnapshotsByGUNRequest { string globallyUniqueName = 1; + PaginationRequest pagination = 2; } message ListSnapshotsByGUNResponse { repeated bytes UUIDs = 1; + PaginationResponse pagination = 2; }