POST server

The web method POST server sends commands to the realm server.

Input Data

Supply the command in JSON format.

Commands

Commands are parallel to commands that are available through the realm server administration utility. You can use these commands while completing the task Upgrading Each Individual Realm Server Process.

Syntax Description
{"cmd":"backup"} Backup the realm server database.
{"cmd":"shutdown"} Shut down the ream server.
{"cmd":"compact"} Compact the realm server database.

Example Requests

curl -X POST http://host:port/api/v1/server -d json_cmd
curl -X POST http://host:port/api/v1/server -d '{"cmd":"compact"}'