Reads information about specified GDB group using key.

Request Structure

JSON object:

{
  "method": "global_db",
  "subcommand": ["read"],
  "arguments": {
    "group": "group_name",
    "key": "key_name"
  },
  "id": "1"
}

Parameters:

group - name of the group (list of names can be acquired using JSON-RPC Request - GLOBAL_DB GROUP_LIST) key - key for access the group (list of keys can be acquired using JSON-RPC Request - GLOBAL_DB GET_KEYS)

Curl Example

Request:

curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
  "method": "global_db",
  "subcommand": ["read"],
  "arguments": {
    "group": "local.general",
    "key": "gdb_version"
  },
  "id": "1"
}'

Response:

{
  "type": 2,
  "result": [
    {
      "group": "local.general",
      "key": "gdb_version",
      "time": "Mon, 21 Apr 2025 16:41:22 +0700",
      "value len": 17,
      "value hex": "\n  +0000:  73 74 72 69 6E 67 20 69 6E 20 71 75 6F 74 65 73   string in quotes   \n  +0010:  00                                                .                  \n"
    }
  ],
  "id": 1
}