IRPCEventsAdmin.GetEventsRange

View as Markdown

Administration API / specialized admin session idempotent

Gets events by ID range and filters, oldest or newest first, with an optional maximum count.

ServiceEvent administration MFiles.IRPCEventsAdmin
gRPC method/MFiles.IRPCEventsAdmin/GetEventsRange
HTTP (mf-http-grpc)POST /grpc/v1/get-events-range
RequestGetEventsRangeRequest
ResponseGetEventsRangeResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: GetEventsRangeRequest

Gets the specified range of events from the vault.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
oldest_event_to_getint64The lowest event ID to return, or -1 for no lower bound.
newest_event_to_getint64The highest event ID to return, or -1 for no upper bound. The default 0 returns nothing.
max_events_to_returnuint32The maximum number of events to return; 0 for no limit. With get_newest the newest matching events are returned, otherwise the oldest.
get_newestboolTrue to return the newest matching events first (descending IDs), false for the oldest first.
object_type_filterint32Only events of objects of this object type, or -1 for all.
object_id_filterint32Only events of the object with this ID, or -1 for all.
object_title_filterstringOnly events of objects with exactly this title; empty for all.
object_class_filterint32Only events of objects of this class; used only when has_class_filter is true.
has_class_filterboolTrue to apply object_class_filter.
start_time_filtergoogle.protobuf.TimestampOnly events at or after this time (UTC). Used only together with end_time_filter.
end_time_filtergoogle.protobuf.TimestampOnly events at or before this time (UTC). Used only together with start_time_filter.
event_typesEventTypeArrayOnly events of these types; empty for all types.
event_types.event_types[]repeated EventTypeThe event types.
event_caused_by_userstringOnly events caused by this account name; empty for all.

Response: GetEventsRangeResponse

Gets the specified range of events from the vault.

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
events[]repeated EventThe matching events. See Event.
events[].idint64The ID of the event.
events[].typeEventTypeThe type of the event.
events[].categoryEventCategoryThe category of the event.Values: EVENT_CATEGORY_UNDEFINED (0), EVENT_CATEGORY_FILE_ACCESS (1), EVENT_CATEGORY_OBJECT_CHANGE (2), EVENT_CATEGORY_NEW_OBJECT (3), EVENT_CATEGORY_OBJECT_OPERATION (4), EVENT_CATEGORY_SYSTEM (5), EVENT_CATEGORY_REQUEST (6), EVENT_CATEGORY_METADATA_STRUCTURE_CHANGE (7), EVENT_CATEGORY_PUBLIC_LINK (8), EVENT_CATEGORY_CUSTOM_EVENT (9).
events[].timestamp_utcgoogle.protobuf.TimestampThe timestamp of this event.
events[].caused_by_userstringThe account name of the user whose activity lead to this event. If no user (this is a system operation), this is an empty string.
events[].caused_by_user_full_namestringThe full name of the user whose activity lead to this event. If no user (this is a system operation), this is an empty string.
events[].caused_by_user_idint32The ID of the user account whose activity lead to this event. If no user (this is a system operation), this is zero.
events[].dataEventTypeSpecificDataUnionAdditional event type -specific data as a union.
events[].data.file_accessedEventTypeSpecificDataUnion.FileAccessedData (oneof data)
events[].data.object_changedEventTypeSpecificDataUnion.ObjectChangedData (oneof data)
events[].data.object_createdBasicDocVerInfo (oneof data)
events[].data.rolled_backEventTypeSpecificDataUnion.RolledBackData (oneof data)
events[].data.checked_outBasicDocVerInfo (oneof data)
events[].data.checked_inBasicDocVerInfo (oneof data)
events[].data.checkout_undoneBasicDocVerInfo (oneof data)
events[].data.object_deletedBasicDocInfo (oneof data)
events[].data.object_version_destroyedBasicDocVerInfo (oneof data)
events[].data.object_destroyedBasicDocInfo (oneof data)
events[].data.logged_inEventTypeSpecificDataUnion.LoggedInData (oneof data)
events[].data.logged_outEventTypeSpecificDataUnion.LoggedOutData (oneof data)
events[].data.backup_startedEventTypeSpecificDataUnion.BackupStartedData (oneof data)
events[].data.backup_completedEventTypeSpecificDataUnion.BackupCompletedData (oneof data)
events[].data.check_in_requestedBasicDocInfo (oneof data)
events[].data.assignedEventTypeSpecificDataUnion.AssignedData (oneof data)
events[].data.free_requestEventTypeSpecificDataUnion.FreeRequestData (oneof data)
events[].data.assigned_toBasicDocVerInfo (oneof data)
events[].data.completed_byBasicDocVerInfo (oneof data)
events[].data.assignment_approved_byBasicDocVerInfo (oneof data)
events[].data.assignment_rejected_byBasicDocVerInfo (oneof data)
events[].data.state_changedBasicDocVerInfo (oneof data)
events[].data.object_notificationEventTypeSpecificDataUnion.ObjectNotificationData (oneof data)
events[].data.object_undeletedBasicDocInfo (oneof data)Information on the concerned object.
events[].data.user_addedBasicUserAccountInfo (oneof data)Information on the concerned user account.
events[].data.user_changedBasicUserAccountInfo (oneof data)Information on the concerned user account.
events[].data.user_deletedBasicUserAccountInfo (oneof data)Information on the concerned user account.
events[].data.user_group_addedBasicUserGroupInfo (oneof data)Information on the concerned user group.
events[].data.user_group_changedBasicUserGroupInfo (oneof data)Information on the concerned user group.
events[].data.user_group_deletedBasicUserGroupInfo (oneof data)Information on the concerned user group.
events[].data.event_log_exportedEventTypeSpecificDataUnion.EventLogExportedData (oneof data)
events[].data.event_log_clearedEventTypeSpecificDataUnion.EventLogClearedData (oneof data)
events[].data.vault_restoredVaultBasic (oneof data)The basic definition of the concerned vault.
events[].data.vault_createdVaultBasic (oneof data)The basic definition of the concerned vault.
events[].data.state_transition_signature_settings_addedStateTransitionSignatureSettingsForEvents (oneof data)The concerned workflow state transition settings.
events[].data.state_transition_signature_settings_changedStateTransitionSignatureSettingsForEvents (oneof data)The concerned workflow state transition settings.
events[].data.state_transition_signature_settings_removedStateTransitionSignatureSettingsForEvents (oneof data)The concerned workflow state transition settings.
events[].data.vault_variable_changedEventTypeSpecificDataUnion.VaultVariableChangedData (oneof data)
events[].data.vault_copiedEventTypeSpecificDataUnion.VaultCopiedData (oneof data)
events[].data.license_prevented_advanced_event_logEventTypeSpecificDataUnion.LicensePreventedAdvancedEventLogData (oneof data)
events[].data.public_link_createdEventTypeSpecificDataUnion.PublicLinkCreatedData (oneof data)
events[].data.public_link_file_downloadedEventTypeSpecificDataUnion.PublicLinkFileDownloadedData (oneof data)
events[].data.public_link_deletedEventTypeSpecificDataUnion.PublicLinkDeletedData (oneof data)
events[].data.public_link_accessedEventTypeSpecificDataUnion.PublicLinkAccessedData (oneof data)
events[].data.conflict_resolved_in_favor_of_incoming_changesEventTypeSpecificDataUnion.ConflictResolvedInFavorOfIncomingChangesData (oneof data)
events[].data.conflict_resolved_in_favor_of_local_changesEventTypeSpecificDataUnion.ConflictResolvedInFavorOfLocalChangesData (oneof data)
events[].data.discarded_conflict_changes_restored_as_new_versionEventTypeSpecificDataUnion.DiscardedConflictChangesRestoredAsNewVersionData (oneof data)
events[].data.user_mentioned_in_commentBasicDocVerInfo (oneof data)
events[].data.vault_login_account_addedBasicVaultLoginAccountInfo (oneof data)Information on the concerned vault login account.
events[].data.vault_login_account_changedBasicVaultLoginAccountInfo (oneof data)Information on the concerned vault login account.
events[].data.vault_login_account_deletedBasicVaultLoginAccountInfo (oneof data)Information on the concerned vault login account.
events[].data.external_link_access_type_changedExternalLinkEventData (oneof data)Shared-link data for the access-type-changed event.
events[].data.external_link_anyone_with_link_expiration_updatedExternalLinkEventData (oneof data)Shared-link data for the anyone-with-the-link expiration-updated event.
events[].data.external_link_visitors_addedExternalLinkEventData (oneof data)Shared-link data for the visitors-added event.
events[].data.external_link_visitors_removedExternalLinkEventData (oneof data)Shared-link data for the visitors-removed event.
events[].data.external_link_visitor_expiration_updatedExternalLinkEventData (oneof data)Shared-link data for the visitor expiration-updated event.
events[].data.external_link_accessed_by_visitorExternalLinkEventData (oneof data)Shared-link data for the accessed-by-visitor event.
events[].data.external_link_manage_visitors_viewedExternalLinkEventData (oneof data)Shared-link data for the manage-visitors-dialog-viewed event.
events[].data.external_link_visitors_viewedExternalLinkEventData (oneof data)Shared-link data for the visitors-viewed event.
events[].notification_createdboolTells if the notifications have been created.
events[].notification_object_infoDocumentInfoForNotificationsDocument info. This is valid only until the notifications have been created.
events[].notification_object_info.object_infoObjectVersionExDocument information.
events[].notification_object_info.properties[]repeated PropertyValueDocument properties.
events[].notification_object_info.aclACLWithNamesDocument access control list.
events[].notification_object_info.old_properties[]repeated PropertyValueOld document properties. Used with some events only.
events[].notification_object_info.old_aclACLWithNamesDocument access control list. Used with some events only.
events[].notification_object_info.property_acls[]repeated PVACLACLs for property values.
events[].notification_object_info.old_property_acls[]repeated PVACLACLs for old property values.
events[].notification_object_info.translated_lookup_names[]repeated ItemNamesTranslated names for lookups.
events[].xml_datastringThe data represented in XML.
has_disabled_event_types_infoboolTrue when disabled_event_types is filled; always true on current servers.
disabled_event_typesEventTypeArrayThe event types that the vault's settings exclude from logging, so their absence from the results does not mean nothing happened.
disabled_event_types.event_types[]repeated EventTypeThe event types.