Servers
15 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/tenants/{tid}/servers | Enrolled servers |
| GET | /api/v1/tenants/{tid}/servers/{id} | One enrolled server, as the server list shows it (R22) |
| DELETE | /api/v1/tenants/{tid}/servers/{id} | Remove a lost server, one whose agent never connected, or one whose agent was revoked, from the server list (ADR 0149 D21, ADR 0164 D28, ADR 0166) |
| POST | /api/v1/tenants/{tid}/servers/{id}/broker-check 202 | Run a job through the agent and the privileged broker |
| GET | /api/v1/tenants/{tid}/servers/{id}/capabilities | Observed facts and what can be offered, with reasons and freshness |
| GET | /api/v1/tenants/{tid}/servers/{id}/ftp | The server's FTP service; needs server.manage (ADR 0040) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/ftp | Turn the FTP service on or off and set its ports; opens or closes the firewall |
| POST | /api/v1/tenants/{tid}/servers/{id}/inventory 202 | Ask the agent to report machine facts |
| GET | /api/v1/tenants/{tid}/servers/{id}/logs | A redacted page of the server's Event Log (System, Application), agent or broker log (ADR 0077); server.manage; audited |
| GET | /api/v1/tenants/{tid}/servers/{id}/monitor | The server's load and its sites', busiest and overloaded first (ADR 0036) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/network | The server's public address and nameserver names |
| POST | /api/v1/tenants/{tid}/servers/{id}/runtimes/{rid}/install 202 | Queue a catalog runtime's install recipe |
| POST | /api/v1/tenants/{tid}/servers/{id}/usage | Measure now the disk use and this month's traffic of every site on the server (ADR 0029) |
| GET | /api/v1/tenants/{tid}/servers/{id}/webdeploy | The server's Web Deploy service (ADR 0089) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/webdeploy | Turn the Web Management Service on or off and scope port 8172 in the firewall |