POST server

The web method POST server 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.

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"}'