Skip to content

Commit

Permalink
feat(guardian): support pagination in ListApprovals (goto#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsushmith authored Mar 17, 2023
1 parent 3a5f48a commit 2462427
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gotocompany/guardian/v1beta1/guardian.proto
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,14 @@ message ListApprovalsRequest {
repeated string statuses = 2;
repeated string order_by = 3;
string created_by = 4;
uint32 size = 5 [(validate.rules).uint32 = {
gte: 0,
ignore_empty: true
}];
uint32 offset = 6 [(validate.rules).uint32 = {
gte: 0,
ignore_empty: true
}];
}

message ListApprovalsResponse {
Expand Down

0 comments on commit 2462427

Please sign in to comment.