Get server resources
/api/v1/servers/:id/resources
Read server details and current firewall attachments. firewallState distinguishes preview, unsynced and ready; null firewalls is not an empty confirmed attachment list.
Request example
curl "https://tovahub.com/api/v1/servers/507f1f77bcf86cd799439012/resources" \
-H "Authorization: Bearer $TOVAHUB_TOKEN"Examples only. No requests are sent from this page.
Parameters
idPath · Requiredstring
Resource ID: 24 hexadecimal characters. Use the platform ID returned by the matching list endpoint, not a supplier instance ID.
Response
HTTP status 200
Read local server details with the current saved firewall attachment state.
testOnlybooleanWhether this server is isolated test inventory.
testUntilstring (ISO 8601) | nullTest inventory expiry, if any.
supplierPaidThroughstring (ISO 8601) | nullThe server's saved expiresAt value; returned under this historical field name.
instanceIdstringSupplier instance identifier, not the platform server ObjectId.
namestringSaved hostname, or an empty string.
statusstringSaved server status.
previewbooleanWhether the server is a read-only preview.
regionstringRegion label, falling back to its code.
dataCenterstringCurrently an em-dash placeholder.
productstringSaved product label, falling back to an em dash.
cpunumberSaved CPU count, or zero.
memoryMbnumberSaved memory in MB, or zero.
diskMbnumberSaved disk capacity in MB, or zero.
operatingSystemstringSaved OS label or identifier, falling back to an em dash.
imageIdnullNot populated by the current local-details reader.
ipv4string | nullSaved IPv4 address, if any.
ipv6string | nullSaved IPv6 address, if any.
macAddressstringSaved MAC address, or an empty string.
createdAtstring (ISO 8601) | nullSaved purchase creation time, if any.
additionalIpsnullNot populated by the current local-details reader.
privateNetworksnullNot populated by the current local-details reader.
firewallStatestring ('preview' | 'unsynced' | 'ready')Whether firewall data is available for this server.
firewallsarray | nullNull for preview or unsynced states; otherwise the matching attachments.
firewalls[].idstringSupplier firewall identifier, not necessarily its local platform identifier.
firewalls[].namestringFirewall display name.
firewalls[].statusstringSupplier firewall status.
firewalls[].attachedInstanceCountnumberNumber of visible attached organization servers.
firewalls[].rulesarrayRules with displayName, protocol, destPorts, ipv4, ipv6, action, and status.