Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 6 additions & 0 deletions authzed/api/materialize/v0/watchpermissionsets.proto
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,10 @@ message DownloadPermissionSetsResponse {

// timestamp represents the time associated with the returned data revision.
google.protobuf.Timestamp timestamp = 2;

// at_revision is the snapshot revision the returned files were produced at,
// encoded as a ZedToken. Consumers should pass this token to
// WatchPermissionSets as optional_starting_after to resume the stream
// immediately after the snapshot without leaving gaps in event history.
authzed.api.v1.ZedToken at_revision = 3;
}
4 changes: 4 additions & 0 deletions docs/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,10 @@
"type": "string",
"format": "date-time",
"description": "timestamp represents the time associated with the returned data revision."
},
"atRevision": {
"$ref": "#/definitions/ZedToken",
"description": "at_revision is the snapshot revision the returned files were produced at,\nencoded as a ZedToken. Consumers should pass this token to\nWatchPermissionSets as optional_starting_after to resume the stream\nimmediately after the snapshot without leaving gaps in event history."
}
}
},
Expand Down
Loading