IRPCServerDataPush.OpenServerDataPush

View as Markdown

Vault API / standard write session server streaming

Opens the session's push channel: a stream of requests and notifications from the server.

ServiceServer push MFiles.IRPCServerDataPush
gRPC method/MFiles.IRPCServerDataPush/OpenServerDataPush
HTTP (mf-http-grpc)POST /grpc/v1/open-server-data-push
RequestOpenServerDataPushRequest
ResponseServerDataPushItem
Book and levelVault API, standard
Kindwrite
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingserver

Remarks

Request: OpenServerDataPushRequest

Request to open the server data push channel.

No fields.

Response: ServerDataPushItem

One push message from the server: a request or a notification for the client.

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

FieldTypeDescription
activity_idstringThe activity ID of the client call that caused the request, as a GUID string in braces. Use it to tie the request to the call that is waiting for it. A GUID of zeros for notifications that no call is waiting for.
response_idint32The ID to send back in SendDataPushResponse. Respond only to request types that need a response, and never when the ID is 0.
request_dataServerDataPushRequestWhat the server asks for or tells. See ServerDataPushRequest.
request_data.typeServerDataPushRequestTypeRequest type.Values: SERVER_DATA_PUSH_REQUEST_TYPE_UNINITIALIZED (0), SERVER_DATA_PUSH_REQUEST_TYPE_ELECTRONIC_SIGNATURE_REQUEST (1), SERVER_DATA_PUSH_REQUEST_TYPE_EXTENSION_AUTHENTICATION_REQUEST (2), SERVER_DATA_PUSH_REQUEST_TYPE_OBJECTS_CHANGED_NOTIFICATION (3).
request_data.dataServerDataPushRequestUnionThe actual message data.
request_data.data.electronic_signature_requestElectronicSignatureRequest (oneof data)Electronic signature request.
request_data.data.extension_authentication_requestExtensionAuthenticationRequest (oneof data)Extension authentication request.
request_data.data.objects_changed_notificationObjectsChangedNotification (oneof data)Objects changed notification.