API referenceSections

Servers

15 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
GET/api/v1/tenants/{tid}/serversEnrolled 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 202Run a job through the agent and the privileged broker
GET/api/v1/tenants/{tid}/servers/{id}/capabilitiesObserved facts and what can be offered, with reasons and freshness
GET/api/v1/tenants/{tid}/servers/{id}/ftpThe server's FTP service; needs server.manage (ADR 0040)
PUT/api/v1/tenants/{tid}/servers/{id}/ftpTurn the FTP service on or off and set its ports; opens or closes the firewall
POST/api/v1/tenants/{tid}/servers/{id}/inventory 202Ask the agent to report machine facts
GET/api/v1/tenants/{tid}/servers/{id}/logsA 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}/monitorThe server's load and its sites', busiest and overloaded first (ADR 0036)
PUT/api/v1/tenants/{tid}/servers/{id}/networkThe server's public address and nameserver names
POST/api/v1/tenants/{tid}/servers/{id}/runtimes/{rid}/install 202Queue a catalog runtime's install recipe
POST/api/v1/tenants/{tid}/servers/{id}/usageMeasure now the disk use and this month's traffic of every site on the server (ADR 0029)
GET/api/v1/tenants/{tid}/servers/{id}/webdeployThe server's Web Deploy service (ADR 0089)
PUT/api/v1/tenants/{tid}/servers/{id}/webdeployTurn the Web Management Service on or off and scope port 8172 in the firewall