autobindings/spec

57 lines
2.6 KiB
Plaintext
Raw Normal View History

2023-02-21 20:31:49 +00:00
# ( app | profile) FunctionName (profile)
# Peer Engine
app ActivatePeerEngine profile
app DeactivatePeerEngine profile
# Profile Management
app CreateProfile name password bool:autostart
app LoadProfiles password
app DeleteProfile profile password
2023-02-28 17:56:09 +00:00
(json)app EnhancedImportProfile string:file password
2023-02-21 20:31:49 +00:00
profile ChangePassword string:current string:newPassword string:newPasswordAgain
profile ExportProfile string:file
# Conversation Management
(json)profile EnhancedImportBundle string:bundle
2023-02-21 20:31:49 +00:00
profile ArchiveConversation conversation
profile AcceptConversation conversation
profile BlockConversation conversation
profile UnblockConversation conversation
profile DeleteConversation conversation
# Message Management
(json)profile EnhancedSendMessage conversation string:msg
(json)profile EnhancedGetMessageById conversation message
(json)profile EnhancedGetMessageByContentHash conversation string:contentHash
(json)profile EnhancedGetMessages conversation int:index int:count
2023-03-02 20:45:44 +00:00
(json)profile EnhancedSendInviteMessage conversation conversation:target
2023-02-21 20:31:49 +00:00
profile UpdateMessageAttribute conversation channel message string:attributeKey string:attributeValue
# Group Management
profile StartGroup string:name string:server
# Filesharing Management
import "cwtch.im/cwtch/functionality/filesharing"
@profile-experiment DownloadFileDefaultLimit filesharing conversation string:filepath string:manifest string:filekey
@profile-experiment RestartFileShare filesharing string:filekey
@profile-experiment StopFileShare filesharing string:filekey
@profile-experiment CheckDownloadStatus filesharing string:filekey
@profile-experiment VerifyOrResumeDownload filesharing conversation string:filekey
@(json)profile-experiment EnhancedShareFile filesharing conversation string:filepath
@(json)profile-experiment EnhancedGetSharedFiles filesharing conversation
2023-02-28 17:56:09 +00:00
# Server Hosting Experiment
2023-03-01 17:48:34 +00:00
!serverExperiment import "git.openprivacy.ca/cwtch.im/cwtch-autobindings/experiments/servers"
!serverExperiment global serverExperiment *servers.ServersFunctionality servers
!serverExperiment exp CreateServer application password string:description bool:autostart
!serverExperiment exp SetServerAttribute application string:handle string:key string:val
!serverExperiment exp LoadServers application acn password
!serverExperiment exp LaunchServers application acn
!serverExperiment exp LaunchServer application string:handle
!serverExperiment exp StopServer application string:handle
!serverExperiment exp StopServers application
!serverExperiment exp DestroyServers
!serverExperiment exp DeleteServer application string:handle password