IRPCEventHandlersAdmin.SetServerEventHandlers

View as Markdown

Administration API / specialized admin session idempotent

Replaces all server-level event handlers with the given list.

ServiceEvent handlers MFiles.IRPCEventHandlersAdmin
gRPC method/MFiles.IRPCEventHandlersAdmin/SetServerEventHandlers
HTTP (mf-http-grpc)POST /grpc/v1/set-server-event-handlers
RequestSetServerEventHandlersRequest
ResponseSetServerEventHandlersResponse
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: SetServerEventHandlersRequest

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 server's event handlers.
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: SetServerEventHandlersResponse

No fields.