IRPCEventsAdmin.GetMinAndMaxEventIDs
Administration API / specialized admin session
Gets the smallest and largest event ID in the vault's event log.
| Service | Event administration MFiles.IRPCEventsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCEventsAdmin/GetMinAndMaxEventIDs |
| HTTP (mf-http-grpc) | POST /grpc/v1/get-min-and-max-event-ids |
| Request | GetMinAndMaxEventIDsRequest |
| Response | GetMinAndMaxEventIDsResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | no |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Requires a vault session and the vault right
manage_events. - Both are 0 when the log is empty. IDs grow over time but are not contiguous: deleted events leave gaps.
Request: GetMinAndMaxEventIDsRequest
No fields.
Response: GetMinAndMaxEventIDsResponse
Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.
| Field | Type | Description |
|---|---|---|
min_event_id | int64 | The ID of the oldest event, or 0 if there are no events. |
max_event_id | int64 | The ID of the newest event, or 0 if there are no events. |