cbrx_connection_getdictionary

Get all keys that can return information on the hub specified.

Syntax: see API Call Structure

{

"method": "cbrx_connection_getdictionary", "params": [connection-handle] }

connection-handle is the Connection Handles as an integer

Returns:

{

"result": [dictionary] }

dictionaryis an array of strings containing the names of the keys and values for the device. Please see Get Dictionary section.

  • Errors
  • If there is an error in the API method then a JSON-RPC Error Object will be returned.

    Examples

    Example JSON-RPC request:

    Copy
    {
      "jsonrpc": "2.0",
      "id": 0,
      "method": "cbrx_connection_getdictionary",
      "params": [
        7654
      ]
    }

    Example successful response:

    {

    "jsonrpc": "2.0",

    "id": 0,

    "result": [dictionary] }

    dictionaryis an array of strings containing the names of the keys and values for the device. Please see Get Dictionary section.