267 lines
5.7 KiB
YAML
267 lines
5.7 KiB
YAML
protocol_version: "1.0"
|
|
|
|
# Fixed CommunicationType markers are:
|
|
# Error: 0
|
|
# ErrorParsing: 1
|
|
# ErrorBadVersion: 2
|
|
# Disconnect: 3
|
|
# Redirect: 4
|
|
# Shutdown: 5
|
|
# BadRequest: 6
|
|
# Unauthorized: 7
|
|
# Forbidden: 8
|
|
# NotFound: 9
|
|
# TooManyRequests: 10
|
|
# InternalServerError: 11
|
|
# BadGateway: 12
|
|
# ServiceUnavailable: 13
|
|
# GatewayTimeout: 14
|
|
# Identification: 15
|
|
# IdentificationResponse: 16
|
|
# Register: 17
|
|
# RegisterResponse: 18
|
|
# Ping: 19
|
|
# Pong: 20
|
|
|
|
# Fixed DataType markers are:
|
|
# Error: 0
|
|
# ErrorParsing: 1
|
|
# ErrorMessage: 2
|
|
# Version: 3
|
|
# Description: 4
|
|
# Timestamp: 5
|
|
# Id: 6
|
|
# ClientNonce: 7
|
|
# ServerNonce: 8
|
|
# PublicKeys: 9
|
|
# Signature: 10
|
|
# Connected: 11
|
|
|
|
type_maps:
|
|
"1.0":
|
|
CommunicationTypes:
|
|
ErrorProtocol: 21
|
|
ErrorAnonymous: 22
|
|
ErrorInternal: 23
|
|
ErrorInvalidData: 24
|
|
ErrorInvalidUserId: 25
|
|
ErrorInvalidOmikronId: 26
|
|
ErrorNotFound: 27
|
|
ErrorNotAuthenticated: 28
|
|
ErrorNoIota: 29
|
|
ErrorInvalidChallenge: 30
|
|
ErrorInvalidSecret: 31
|
|
ErrorInvalidPrivateKey: 32
|
|
ErrorInvalidPublicKey: 33
|
|
ErrorNoUserId: 34
|
|
ErrorNoCallId: 35
|
|
ErrorInvalidCallId: 36
|
|
Success: 37
|
|
ShortenLink: 38
|
|
SettingsSave: 39
|
|
SettingsLoad: 40
|
|
SettingsList: 41
|
|
GlobalSettingsSave: 42
|
|
GlobalSettingsLoad: 43
|
|
Message: 44
|
|
MessageState: 45
|
|
MessageSend: 46
|
|
MessageLive: 47
|
|
MessageOtherIota: 48
|
|
MessageChunk: 49
|
|
MessageGet: 50
|
|
MessagesGet: 51
|
|
MessageDelete: 52
|
|
PushNotification: 53
|
|
ReadNotification: 54
|
|
GetNotifications: 55
|
|
TauriIdentification: 56
|
|
ChangeConfirm: 57
|
|
ConfirmReceive: 58
|
|
ConfirmRead: 59
|
|
GetChats: 60
|
|
GetStates: 61
|
|
AddCommunity: 62
|
|
RemoveCommunity: 63
|
|
GetCommunities: 64
|
|
RegisterIota: 65
|
|
RegisterIotaSuccess: 66
|
|
AddConversation: 67
|
|
SendChat: 68
|
|
ClientChanged: 69
|
|
ClientConnected: 70
|
|
ClientDisconnected: 71
|
|
ClientClosed: 72
|
|
PublicKey: 73
|
|
PrivateKey: 74
|
|
WebrtcSdp: 75
|
|
WebrtcIce: 76
|
|
StartStream: 77
|
|
EndStream: 78
|
|
WatchStream: 79
|
|
CallToken: 80
|
|
CallInvite: 81
|
|
CallDisconnectUser: 82
|
|
CallTimeoutUser: 83
|
|
CallSetAnonymousJoining: 84
|
|
CallData: 85
|
|
EndCall: 86
|
|
Function: 87
|
|
Update: 88
|
|
CreateUser: 89
|
|
RhoUpdate: 90
|
|
UserConnected: 91
|
|
UserDisconnected: 92
|
|
IotaConnected: 93
|
|
IotaDisconnected: 94
|
|
SyncClientIotaStatus: 95
|
|
GetUserData: 96
|
|
GetIotaData: 97
|
|
IotaUserData: 98
|
|
ChangeUserData: 99
|
|
ChangeIotaData: 100
|
|
GetRegister: 101
|
|
CompleteRegisterUser: 102
|
|
CompleteRegisterIota: 103
|
|
DeleteUser: 104
|
|
DeleteIota: 105
|
|
StartRegister: 106
|
|
CompleteRegister: 107
|
|
GetApp: 108
|
|
CreateApp: 109
|
|
DeleteApp: 110
|
|
SaveAppData: 111
|
|
LoadAppData: 112
|
|
AppIdentification: 113
|
|
AppChallenge: 114
|
|
AppChallengeResponse: 115
|
|
AppIdentificationResponse: 116
|
|
LoadTxtRecord: 117
|
|
ErrorNotSet: 118
|
|
SetChatSecret: 119
|
|
GetChatSecret: 120
|
|
ChatSecretResponse: 121
|
|
ChatSecretForward: 122
|
|
MessageEditLive: 123
|
|
MessageEdit: 124
|
|
MessageReactionAdd: 125
|
|
MessageReactionRemove: 126
|
|
MessageReactionLive: 127
|
|
MessageDeleteLive: 128
|
|
DataTypes:
|
|
ErrorType: 12
|
|
ErrorProtocol: 13
|
|
AcceptedIds: 14
|
|
Uuid: 15
|
|
RegisterId: 16
|
|
Link: 17
|
|
Settings: 18
|
|
SettingsName: 19
|
|
ChatPartnerId: 20
|
|
ChatPartnerName: 21
|
|
IotaId: 22
|
|
UserId: 23
|
|
UserIds: 24
|
|
IotaIds: 25
|
|
UserState: 26
|
|
UserStates: 27
|
|
UserPings: 28
|
|
CallState: 29
|
|
ScreenShare: 30
|
|
PrivateKeyHash: 31
|
|
AcceptedProfiles: 32
|
|
DeniedProfiles: 33
|
|
Content: 34
|
|
Messages: 35
|
|
Notifications: 36
|
|
SendTime: 37
|
|
GetTime: 38
|
|
GetVariant: 39
|
|
SharedSecretOwn: 40
|
|
SharedSecretOther: 41
|
|
SharedSecretSign: 42
|
|
SharedSecret: 43
|
|
CallId: 44
|
|
CallToken: 45
|
|
CallSecret: 46
|
|
Untill: 47
|
|
Enabled: 48
|
|
StartDate: 49
|
|
EndDate: 50
|
|
ReceiverId: 51
|
|
SenderId: 52
|
|
Signed: 53
|
|
Message: 54
|
|
MessageState: 55
|
|
LastPing: 56
|
|
PingIota: 57
|
|
PingClients: 58
|
|
Matches: 59
|
|
Omikron: 60
|
|
Offset: 61
|
|
Amount: 62
|
|
Position: 63
|
|
Name: 64
|
|
Path: 65
|
|
Codec: 66
|
|
Function: 67
|
|
Payload: 68
|
|
Result: 69
|
|
Interactables: 70
|
|
WantToWatch: 71
|
|
Watcher: 72
|
|
CreatedAt: 73
|
|
Username: 74
|
|
Display: 75
|
|
Avatar: 76
|
|
About: 77
|
|
Status: 78
|
|
PublicKey: 79
|
|
SubLevel: 80
|
|
SubEnd: 81
|
|
CommunityAddress: 82
|
|
CommunityTitle: 83
|
|
Communities: 84
|
|
RhoConnections: 85
|
|
User: 86
|
|
OnlineStatus: 87
|
|
OmikronId: 88
|
|
OmikronConnections: 89
|
|
ResetToken: 90
|
|
NewToken: 91
|
|
CallInvited: 92
|
|
CallMembers: 93
|
|
Calls: 94
|
|
Timeout: 95
|
|
HasAdmin: 96
|
|
LastMessageAt: 97
|
|
Height: 98
|
|
SentBySelf: 99
|
|
SessionId: 100
|
|
Contacts: 101
|
|
LastMessage: 102
|
|
AppIdentifier: 103
|
|
AppPrivateKey: 104
|
|
AppPublicKey: 105
|
|
AppSession: 106
|
|
AppData: 107
|
|
TauriToken: 108
|
|
Challenge: 109
|
|
EncryptedPayload: 110
|
|
SecurePayload: 111
|
|
DeviceId: 112
|
|
ClientId: 113
|
|
SecretId: 114
|
|
VersionNumber: 115
|
|
EncryptedSecret: 116
|
|
WrappingScheme: 117
|
|
UpdatedAt: 118
|
|
ChatId: 119
|
|
KemCiphertext: 120
|
|
SenderUserId: 121
|
|
RecipientUserId: 122
|
|
Recipients: 123
|
|
Edited: 124
|
|
Reactions: 125
|
|
Reaction: 126
|
|
ReplyId: 127
|