Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store changes filter by start time #204

Merged
merged 3 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/openapiv2/apidocs.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions openfga/v1/errors_ignore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ enum ErrorCode {
invalid_authorization_model = 2056;
unsupported_schema_version = 2057;
cancelled = 2058;
invalid_start_time = 2059;
cikasfm marked this conversation as resolved.
Show resolved Hide resolved
}

enum UnprocessableContentErrorCode {
Expand Down
12 changes: 12 additions & 0 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,18 @@ message ReadChangesRequest {
(validate.rules).string.max_bytes = 5120,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {example: "\"eyJwayI6IkxBVEVTVF9OU0NPTkZJR19hdXRoMHN0b3JlIiwic2siOiIxem1qbXF3MWZLZExTcUoyN01MdTdqTjh0cWgifQ==\""}
];

google.protobuf.Timestamp start_time = 5 [
json_name = "start_time",
(validate.rules).timestamp.lt_now = true,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description:
"Start date and time of changes to read.\n"
"Format: ISO 8601 timestamp (e.g., 2022-01-01T00:00:00Z)\n"
"If a continuation token is provided, its value will be used in case it's timestamp is greater than the specified start time."
cikasfm marked this conversation as resolved.
Show resolved Hide resolved
example: "2021-01-01T00:00:00.000Z"
}
];
}

message ReadChangesResponse {
Expand Down
85 changes: 45 additions & 40 deletions proto/openfga/v1/errors_ignore.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading