You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 11
Next »
APIs
system.cirruslink.distributor.createConfig(type, props) → void
ParametersString typeMap propsDictionary of properties making up the configuration with the following keys and datatypes:UsersId (long)Username (str)Password (str)ACLs (str)
Return Value
system.cirruslink.distributor.readConfig(type) → List
ParametersReturn ValueA List of Dictionaries of properties making up the configurations with the following keys and datatypes:
General Keys
Id (long)Enabled (bool)EnableTCP (bool)Port (int)EnableWebsocket (bool)WebsocketPort (int)EnableTLS (bool)SecurePort (int)EnableSecureWebsocket (bool)SecureWebsocketPort (int)AllowAnonymousConnections (bool)
Users Keys
Id (long)Username (str)Password (str)ACLs (str)
system.cirruslink.distributor.updateConfig(type, id, collisionPolicy, props) → voidParametersString typeLong idThe ID of the record to update
String collisionPolicyEither "MergeOverwrite" or "Overwrite"
Map propsDictionary of properties making up the configuration with the following keys and datatypes:General Keys
Id (long)Enabled (bool)EnableTCP (bool)Port (int)EnableWebsocket (bool)WebsocketPort (int)EnableTLS (bool)SecurePort (int)EnableSecureWebsocket (bool)SecureWebsocketPort (int)AllowAnonymousConnections (bool)
Users Keys
Id (long)Username (str)Password (str)ACLs (str)
Return Value
system.cirruslink.distributor.deleteConfig(type, id) → void
ParametersString typeLong idThe ID of the record to delete
Return Value