Web Socket#

WebSocketAddComment#

message WebSocketAddComment {
 string tab_id = 1;
 Comment comment = 2;
}

Field

Type

Description

tab_id

string

comment

Comment

See Comment

WebSocketUpdateComment#

message WebSocketUpdateComment {
 string tab_id = 1;
 Comment comment = 2;
}

Field

Type

Description

tab_id

string

comment

Comment

See Comment

WebSocketRemoveComment#

message WebSocketRemoveComment {
 string tab_id = 1;
 string comment_id = 2;
}

Field

Type

Description

tab_id

string

comment_id

string

WebSocketCollectionUpdate#

message WebSocketCollectionUpdate {
 string tab_id = 1;
 optional string item_id = 2;
}

Field

Type

Description

tab_id

string

item_id

string

Optional.

WebSocketAdminChanged#

message WebSocketAdminChanged {
 string tab_id = 1;
 string dataroom_id = 2;
 bool is_responsible_admin = 3;
}

Field

Type

Description

tab_id

string

dataroom_id

string

is_responsible_admin

bool

WebSocketGroupUpdated#

Data to update the user after changing groups or admin state

message WebSocketGroupUpdated {
 string tab_id = 1;
 string group_id = 2;
 bool is_admin = 3;
}

Field

Type

Description

tab_id

string

group_id

string

is_admin

bool

WebSocketGroupAdded#

Data to tell a user changes about his state in a group

message WebSocketGroupAdded {
 string tab_id = 1;
 string group_id = 2;
 bool is_admin = 3;
 optional bool is_responsible_admin = 4;
}

Field

Type

Description

tab_id

string

group_id

string

is_admin

bool

is_responsible_admin

bool

Optional.

WebSocketGroupRemoved#

message WebSocketGroupRemoved {
 string tab_id = 1;
 string group_id = 2;
 bool is_admin = 3;
}

Field

Type

Description

tab_id

string

group_id

string

is_admin

bool

WebSocketUserLogout#

message WebSocketUserLogout {
 string tab_id = 1;
}

Field

Type

Description

tab_id

string

WebSocketDataroomSettingsChanged#

message WebSocketDataroomSettingsChanged {
 string tab_id = 1;
}

Field

Type

Description

tab_id

string

WebSocketUserSettingsChanged#

message WebSocketUserSettingsChanged {
 string tab_id = 1;
}

Field

Type

Description

tab_id

string

WebSocketDataroomAdded#

message WebSocketDataroomAdded {
 string tab_id = 1;
 string dataroom_id = 2;
}

Field

Type

Description

tab_id

string

dataroom_id

string

WebSocketDataroomRemoved#

message WebSocketDataroomRemoved {
 string tab_id = 1;
 string dataroom_id = 2;
}

Field

Type

Description

tab_id

string

dataroom_id

string

WebSocketUnreadCounter#

message WebSocketUnreadCounter {
 uint32 ticker = 1;
}

Field

Type

Description

ticker

uint32

FilesAutoDeleted#

message FilesAutoDeleted {
 Document data = 2;
 string path = 3;
 ItemType root_type = 4;
}

Field

Type

Description

data

Document

See Document

path

string

root_type

ItemType

See ItemType

WebsocketFilesAutoDeleted#

message WebsocketFilesAutoDeleted {
 string tab_id = 1;
 repeated FilesAutoDeleted items = 2;
}

Field

Type

Description

tab_id

string

items

array of FilesAutoDeleted

See FilesAutoDeleted