Skip to content

Commit

Permalink
Store changes filter by start time
Browse files Browse the repository at this point in the history
  • Loading branch information
cikasfm committed Oct 16, 2024
1 parent 63b9cf9 commit 8a98f94
Show file tree
Hide file tree
Showing 5 changed files with 1,812 additions and 1,745 deletions.
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;
}

enum UnprocessableContentErrorCode {
Expand Down
9 changes: 9 additions & 0 deletions openfga/v1/openfga_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,15 @@ 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: "The start time of the changes to read."
example: "2021-01-01T00:00:00.000Z"
}
];
}

message ReadChangesResponse {
Expand Down
Loading

0 comments on commit 8a98f94

Please sign in to comment.