POST server
This web method sends commands affecting the realm service provided by an FTL server.
Input Data
Supply the command in JSON format.
Commands
Commands are parallel to commands that are available through the FTL server administration utility. You can use these commands during upgrade migration tasks.
| Syntax | Description |
|---|---|
{"cmd":"backup"}
|
Backup the FTL server realm database. |
{"cmd":"compact"}
|
Compact the FTL server realm database. |
{"cmd":"exit_compatibility_mode"}
|
After an upgrade and if needed, exit the compatibility window manually, when it is deemed safe to do so. For more information, see Upgrading from Release 6.x. |
Example Requests
curl -X POST http://<host>:<port>/api/v1/server -d '{"cmd":"backup"}'curl -X POST http://<host>:<port>/api/v1/server -d '{"cmd":"compact"}'