Server
Server objectmaintenancestring optionalidstring requiredtenant_idstring requirednamestring requiredhostnamestring requiredcreated_atstring (date-time) requiredagent_last_seen_atstring (date-time) | null requiredagent_revoked_atstring (date-time) | null requiredblocked_ipsarray<string> requiredRefused by the server's firewall (ADR 0024)
public_ipstring requiredWhere the Internet reaches the server (ADR 0033)
dns_namesarray<string> requiredNameserver names the server's DNS answers as
Used by
| PUT | /api/v1/tenants/{tid}/servers/{id}/network | The server's public address and nameserver names |
| 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) |
| PUT | /api/v1/tenants/{tid}/servers/{id}/maintenance | Turn maintenance on (with a note) or off (empty note); the server takes nothing new while on (ADR 0052) |