cbrx_apiversion

Return the version of the API running.

Syntax: See API Call Structure

{ "method": "cbrx_apiversion" }

There is another method which can be used, see cbrx_apidetails for more information.

Returns:

{ "result": [Version-number] }

  • Version-number consists of two numbers separated by commas. The leftmost number is called the major, The rightmost number is called the minor.

  • 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_apiversion"
    }

    Example successful response:

    Copy
    {
      "jsonrpc": "2.0",
      "id": 0,
      "result": [
        3,
        7
      ]
    }