Skip to content

Commit

Permalink
Allow page_token to be a Commit id for ListLabelHistoryRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder committed Mar 1, 2024
1 parent 4b63e53 commit ff057c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buf/registry/module/v1/label_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ message ListLabelHistoryRequest {
uint32 page_size = 1 [(buf.validate.field).uint32.lte = 250];
// The page to start from.
//
// The value may be a page_token returned from ListLabelHistoryResponse,
// or it may be a Commit id.
//
// If a Commit id, the returned history will start at that Commit.
//
// If empty, the first page is returned.
string page_token = 2 [(buf.validate.field).string.max_len = 4096];
// The Label to list history for.
Expand Down
5 changes: 5 additions & 0 deletions buf/registry/module/v1beta1/label_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ message ListLabelHistoryRequest {
uint32 page_size = 1 [(buf.validate.field).uint32.lte = 250];
// The page to start from.
//
// The value may be a page_token returned from ListLabelHistoryResponse,
// or it may be a Commit id.
//
// If a Commit id, the returned history will start at that Commit.
//
// If empty, the first page is returned.
string page_token = 2 [(buf.validate.field).string.max_len = 4096];
// The Label to list history for.
Expand Down

0 comments on commit ff057c6

Please sign in to comment.