221 lines
4.9 KiB
YAML
221 lines
4.9 KiB
YAML
# The version a Client should use
|
|
protocol_version: "1.0"
|
|
|
|
type_maps:
|
|
"1.0": # Protocol version 1.0
|
|
CommunicationTypes:
|
|
ErrorProtocol: 33
|
|
ErrorAnonymous: 34
|
|
ErrorInternal: 35
|
|
ErrorInvalidData: 36
|
|
ErrorInvalidUserId: 37
|
|
ErrorInvalidOmikronId: 38
|
|
ErrorNotFound: 39
|
|
ErrorNotAuthenticated: 40
|
|
ErrorNoIota: 41
|
|
ErrorInvalidChallenge: 42
|
|
ErrorInvalidSecret: 43
|
|
ErrorInvalidPrivateKey: 44
|
|
ErrorInvalidPublicKey: 45
|
|
ErrorNoUserId: 46
|
|
ErrorNoCallId: 47
|
|
ErrorInvalidCallId: 48
|
|
Success: 49
|
|
ShortenLink: 50
|
|
SettingsSave: 51
|
|
SettingsLoad: 52
|
|
SettingsList: 53
|
|
GlobalSettingsSave: 54
|
|
GlobalSettingsLoad: 55
|
|
Message: 56
|
|
MessageState: 57
|
|
MessageSend: 58
|
|
MessageLive: 59
|
|
MessageOtherIota: 60
|
|
MessageChunk: 61
|
|
MessagesGet: 62
|
|
PushNotification: 63
|
|
ReadNotification: 64
|
|
GetNotifications: 65
|
|
TauriIdentification: 66
|
|
ChangeConfirm: 67
|
|
ConfirmReceive: 68
|
|
ConfirmRead: 69
|
|
GetChats: 70
|
|
GetStates: 71
|
|
AddCommunity: 72
|
|
RemoveCommunity: 73
|
|
GetCommunities: 74
|
|
RegisterIota: 81
|
|
RegisterIotaSuccess: 82
|
|
AddConversation: 85
|
|
SendChat: 86
|
|
ClientChanged: 87
|
|
ClientConnected: 88
|
|
ClientDisconnected: 89
|
|
ClientClosed: 90
|
|
PublicKey: 91
|
|
PrivateKey: 92
|
|
WebrtcSdp: 93
|
|
WebrtcIce: 94
|
|
StartStream: 95
|
|
EndStream: 96
|
|
WatchStream: 97
|
|
CallToken: 98
|
|
CallInvite: 99
|
|
CallDisconnectUser: 100
|
|
CallTimeoutUser: 101
|
|
CallSetAnonymousJoining: 102
|
|
CallData: 103
|
|
EndCall: 104
|
|
Function: 105
|
|
Update: 106
|
|
CreateUser: 107
|
|
RhoUpdate: 108
|
|
UserConnected: 109
|
|
UserDisconnected: 110
|
|
IotaConnected: 111
|
|
IotaDisconnected: 112
|
|
SyncClientIotaStatus: 113
|
|
GetUserData: 114
|
|
GetIotaData: 115
|
|
IotaUserData: 116
|
|
ChangeUserData: 117
|
|
ChangeIotaData: 118
|
|
GetRegister: 119
|
|
CompleteRegisterUser: 120
|
|
CompleteRegisterIota: 121
|
|
DeleteUser: 122
|
|
DeleteIota: 123
|
|
StartRegister: 124
|
|
CompleteRegister: 125
|
|
GetApp: 126
|
|
CreateApp: 127
|
|
DeleteApp: 128
|
|
SaveAppData: 129
|
|
LoadAppData: 130
|
|
AppIdentification: 131
|
|
AppChallenge: 132
|
|
AppChallengeResponse: 133
|
|
AppIdentificationResponse: 134
|
|
LoadTxtRecord: 135
|
|
ErrorNotSet: 136
|
|
SetChatSecret: 139
|
|
GetChatSecret: 140
|
|
ChatSecretResponse: 141
|
|
ChatSecretForward: 142
|
|
DataTypes:
|
|
ErrorType: 32
|
|
ErrorProtocol: 33
|
|
AcceptedIds: 34
|
|
Uuid: 35
|
|
RegisterId: 36
|
|
Link: 37
|
|
Settings: 38
|
|
SettingsName: 39
|
|
ChatPartnerId: 40
|
|
ChatPartnerName: 41
|
|
IotaId: 42
|
|
UserId: 43
|
|
UserIds: 44
|
|
IotaIds: 45
|
|
UserState: 46
|
|
UserStates: 47
|
|
UserPings: 48
|
|
CallState: 49
|
|
ScreenShare: 50
|
|
PrivateKeyHash: 51
|
|
Accepted: 52
|
|
AcceptedProfiles: 53
|
|
DeniedProfiles: 54
|
|
Content: 55
|
|
Messages: 56
|
|
Notifications: 57
|
|
SendTime: 58
|
|
GetTime: 59
|
|
GetVariant: 60
|
|
SharedSecretOwn: 61
|
|
SharedSecretOther: 62
|
|
SharedSecretSign: 63
|
|
SharedSecret: 64
|
|
CallId: 65
|
|
CallToken: 66
|
|
CallSecret: 67
|
|
Untill: 68
|
|
Enabled: 69
|
|
StartDate: 70
|
|
EndDate: 71
|
|
ReceiverId: 72
|
|
SenderId: 73
|
|
Signed: 75
|
|
Message: 76
|
|
MessageState: 77
|
|
LastPing: 78
|
|
PingIota: 79
|
|
PingClients: 80
|
|
Matches: 81
|
|
Omikron: 82
|
|
Offset: 83
|
|
Amount: 84
|
|
Position: 85
|
|
Name: 86
|
|
Path: 87
|
|
Codec: 88
|
|
Function: 89
|
|
Payload: 90
|
|
Result: 91
|
|
Interactables: 92
|
|
WantToWatch: 93
|
|
Watcher: 94
|
|
CreatedAt: 95
|
|
Username: 96
|
|
Display: 97
|
|
Avatar: 98
|
|
About: 99
|
|
Status: 100
|
|
PublicKey: 101
|
|
SubLevel: 102
|
|
SubEnd: 103
|
|
CommunityAddress: 104
|
|
CommunityTitle: 106
|
|
Communities: 107
|
|
RhoConnections: 108
|
|
User: 109
|
|
OnlineStatus: 110
|
|
OmikronId: 111
|
|
OmikronConnections: 112
|
|
ResetToken: 113
|
|
NewToken: 114
|
|
CallInvited: 115
|
|
CallMembers: 116
|
|
Calls: 117
|
|
Timeout: 118
|
|
HasAdmin: 119
|
|
LastMessageAt: 120
|
|
Height: 121
|
|
SentBySelf: 122
|
|
SessionId: 123
|
|
Contacts: 124
|
|
LastMessage: 125
|
|
AppIdentifier: 127
|
|
AppPrivateKey: 128
|
|
AppPublicKey: 129
|
|
AppSession: 130
|
|
AppData: 131
|
|
TauriToken: 132
|
|
Challenge: 133
|
|
EncryptedPayload: 134
|
|
SecurePayload: 135
|
|
DeviceId: 136
|
|
ClientId: 137
|
|
SecretId: 142
|
|
VersionNumber: 143
|
|
EncryptedSecret: 144
|
|
WrappingScheme: 146
|
|
UpdatedAt: 147
|
|
ChatId: 148
|
|
KemCiphertext: 149
|
|
SenderUserId: 152
|
|
RecipientUserId: 153
|
|
Recipients: 154
|
|
ReplyId: 155
|