Skip to content

Commit

Permalink
Add minimum_trust filter for events (#24)
Browse files Browse the repository at this point in the history
Add minimum_trust filter for events 


AB#9171
  • Loading branch information
wp0pw authored May 16, 2024
1 parent f9d074b commit 89552b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions datatrails-common-api/assets/v2/assets/listevents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@ message ListEventsRequest {
pattern: "^0x[[:xdigit:]]+$"
}
];

optional ConfirmationStatus minimum_trust = 26 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "specify the minimum trust level for Events "
"COMMITTED -> COMMITTED, CONFIRMED, UNEQUIVOCAL "
"CONFIRMED -> CONFIRMED, UNEQUIVOCAL "
"UNEQUIVOCAL -> UNEQUIVOCAL"
type: STRING
},
(validate.rules).enum.defined_only = true
];
}

message ListEventsResponse {
Expand Down

0 comments on commit 89552b5

Please sign in to comment.