Downloads internal database state from the disk buffers to the local distributive.
Request Structure
JSON object:
{
"method": "global_db",
"subcommand": ["flush"],
"id": "1"
}
Parameters:
”null”
Curl Example
Command:
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '
{
"method": "global_db",
"subcommand": ["flush"],
"id": "1"
}'
Response:
{
"type": 2,
"result": [ { "command status": "Commit data base and filesystem caches to disk completed.\n\n" } ]
"errors": null,
"id": 1
}