From 23c14d9bd19b39923010c32e019727f0106f0862 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 6 Mar 2023 15:45:57 +0100 Subject: [PATCH] chore: define default offset for better UX (#5379) --- proto/zitadel/object.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/zitadel/object.proto b/proto/zitadel/object.proto index a4d35da402..95a3ba45eb 100644 --- a/proto/zitadel/object.proto +++ b/proto/zitadel/object.proto @@ -47,12 +47,12 @@ message ListQuery { }; uint64 offset = 1 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - example: "\"10\""; + example: "\"0\""; } ]; uint32 limit = 2 [ (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - example: "20"; + example: "100"; description: "Maximum amount of events returned. The default is set to 1000 in https://github.com/zitadel/zitadel/blob/new-eventstore/cmd/zitadel/startup.yaml. If the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken."; } ];