IRPCEventHandlersAdmin.SetVaultEventHandlers

View as Markdown

Administration API / specialized admin session idempotent

Replaces all event handlers of the vault with the given list.

ServiceEvent handlers MFiles.IRPCEventHandlersAdmin
gRPC method/MFiles.IRPCEventHandlersAdmin/SetVaultEventHandlers
HTTP (mf-http-grpc)POST /grpc/v1/set-vault-event-handlers
RequestSetVaultEventHandlersRequest
ResponseSetVaultEventHandlersResponse
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: SetVaultEventHandlersRequest

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

FieldTypeDescription
event_handlers[]repeated InternalEventHandlerThe complete new list of the vault's event handlers. Include existing handlers with their guid; leave guid empty for a new handler.
event_handlers[].event_typeInternalEventTypeThe event type the handler is associated with.
event_handlers[].sort_indexint32The sort index defines the order in which the event handlers are executed in response to an event.
event_handlers[].is_activeboolTrue when this handler is active and is executed in response to events.
event_handlers[].descriptionstringDescription of the event handler. A user friendly identifier for the event handler.
event_handlers[].codestringThe actual code for the event handler that is executed in response an event..
event_handlers[].guidstringGUID for the event handler.

Response: SetVaultEventHandlersResponse

No fields.