diff --git a/datatrails-common-api/assets/v2/assets/listevents.proto b/datatrails-common-api/assets/v2/assets/listevents.proto index 1240175..e98eba2 100644 --- a/datatrails-common-api/assets/v2/assets/listevents.proto +++ b/datatrails-common-api/assets/v2/assets/listevents.proto @@ -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 {