Changelog
What each release added or changed in the API. Endpoints and fields marked with their version in the reference are collected here.
7.1.0#
Breaking changes#
Existing calls whose status code, response shape, default or accepted values changed. Check these before upgrading a client.
- PUTModify primary traffic allowance
/servers/{serverId}/modify/traffic#- Allowance is in decimal GB (1 GB = 1,000,000,000 bytes).
- POSTBuild a server
/servers/{serverId}/build#- A server ID that does not exist answers 404 instead of 520, and a validation failure names the failing rule instead of an empty errors list.
- POSTCreate a server
/servers#trafficis in decimal GB (1 GB = 1,000,000,000 bytes).
- GETRetrieve a server's traffic statistics
/servers/{serverId}/traffic#- Traffic is measured in decimal units: 1 GB is 1,000,000,000 bytes. Allowances and usage figures are 7.4% higher in GB terms than the previous binary measurement.
- PUTModify CPU cores
/servers/{serverId}/modify/cpuCores#- Refuses with 422 when the hypervisor does not have enough free cores; previously the check never fired.
- POSTAdd IPv4 addresses to an IP block
/connectivity/ipblocks/{blockId}/ipv4#- Takes
type: cidrwithaddress,prefixandhostsOnlyas well astype: range. The range walks the whole address space betweenstartandendinstead of changing only the last octet. Answers 200 withcreated,existing,elsewhereandtotalcounts instead of an empty 204, and refuses more than 65,536 addresses in one call.
- Takes
- POSTAdd an SSH key to a user account
/ssh_keys#- An unknown user returns 404 with
errorsas an array; previously 422 with a string.
- An unknown user returns 404 with
- DELETEDelete an SSH key from a user
/ssh_keys/{keyId}#- An unknown key returns 404 with
errorsas an array; previously 422 with a string.
- An unknown key returns 404 with
- POSTAdd a resource pack to a user
/selfService/resourcePack/byUserExtRelationId/{extRelationId}#enableddefaults to true when omitted, as documented; previously an omitted value created the pack disabled.
- GETRetrieve hourly statistics
/selfService/hourlyStats/byUserExtRelationId/{extRelationId}#- The 422 response returns
errorsas an array.
- The 422 response returns
- PUTSet an hourly resource pack
/selfService/hourlyResourcePack/byUserExtRelationId/{extRelationId}#- An id that is not an hourly limit profile returns 422 instead of silently clearing the pack.
New endpoints#
- GETRetrieve the Control Server's status
/status# - GETRetrieve firewall rulesets
/firewall/rulesets# - GETRetrieve a firewall ruleset
/firewall/rulesets/{rulesetId}# - PUTUpdate a hypervisor
/compute/hypervisors/{hypervisorId}# - GETRetrieve metrics
/compute/hypervisors/{hypervisorId}/metrics# - GETRetrieve a hypervisor's storage points
/compute/hypervisors/{hypervisorId}/storage# - POSTRegenerate a hypervisor's network filters
/compute/hypervisors/{hypervisorId}/networkFilters/regenerate# - GETList the native network filter v2 components
/compute/networkFilters/components# - GETRetrieve a hypervisor's networks
/compute/hypervisors/{hypervisorId}/networks# - POSTCreate a hypervisor network
/compute/hypervisors/{hypervisorId}/networks# - GETRetrieve a hypervisor network
/compute/hypervisors/{hypervisorId}/networks/{networkId}# - PUTUpdate a hypervisor network
/compute/hypervisors/{hypervisorId}/networks/{networkId}# - DELETEDelete a hypervisor network
/compute/hypervisors/{hypervisorId}/networks/{networkId}# - GETRetrieve the IP blocks available on a hypervisor
/compute/hypervisors/{hypervisorId}/ipblocks# - POSTBind an IP block to a hypervisor
/compute/hypervisors/{hypervisorId}/ipblocks# - PUTSet the IP block allocation order on a hypervisor
/compute/hypervisors/{hypervisorId}/ipblocks/order# - PUTChange the network an IP block uses on a hypervisor
/compute/hypervisors/{hypervisorId}/ipblocks/{blockId}# - DELETEUnbind an IP block from a hypervisor
/compute/hypervisors/{hypervisorId}/ipblocks/{blockId}# - PUTSet firewall management by the owner
/servers/{serverId}/firewall/user# - GETRetrieve a server interface's firewall counters
/servers/{serverId}/firewall/{interfaceRef}/counters# - GETRetrieve a server interface's firewall rules
/servers/{serverId}/firewall/{interfaceRef}/rules# - POSTAdd a firewall rule to a server interface
/servers/{serverId}/firewall/{interfaceRef}/rules# - PUTEnable or disable a firewall rule
/servers/{serverId}/firewall/{interfaceRef}/rules/{ruleId}# - DELETERemove a firewall rule
/servers/{serverId}/firewall/{interfaceRef}/rules/{ruleId}# - POSTAttach a firewall ruleset to a server interface
/servers/{serverId}/firewall/{interfaceRef}/rulesets# - POSTApply a server interface's firewall rules now
/servers/{serverId}/firewall/{interfaceRef}/apply# - GETRetrieve a server's queue
/servers/{serverId}/queue# - GETRetrieve a server's deferred actions
/servers/{serverId}/actions# - DELETECancel a server's deferred action
/servers/{serverId}/actions/{actionId}# - GETRetrieve a server's network interfaces
/servers/{serverId}/interfaces# - POSTCreate a server interface
/servers/{serverId}/interfaces# - GETRetrieve a server interface
/servers/{serverId}/interfaces/{interfaceRef}# - PUTUpdate a server interface
/servers/{serverId}/interfaces/{interfaceRef}# - POSTAttach IPv4 addresses to a server interface
/servers/{serverId}/interfaces/{interfaceRef}/ipv4# - DELETERemove IPv4 addresses from a server interface
/servers/{serverId}/interfaces/{interfaceRef}/ipv4# - PUTSet the order of a server interface's IPv4 addresses
/servers/{serverId}/interfaces/{interfaceRef}/ipv4/order# - POSTAttach an IPv6 subnet to a server interface
/servers/{serverId}/interfaces/{interfaceRef}/ipv6# - DELETERemove IPv6 subnets from a server interface
/servers/{serverId}/interfaces/{interfaceRef}/ipv6# - GETRetrieve a server interface's extra MAC addresses
/servers/{serverId}/interfaces/{interfaceRef}/macs# - POSTAdd an extra MAC address to a server interface
/servers/{serverId}/interfaces/{interfaceRef}/macs# - DELETERemove an extra MAC address from a server interface
/servers/{serverId}/interfaces/{interfaceRef}/macs/{macId}# - PUTBind a server interface's IPv4 address to a MAC
/servers/{serverId}/interfaces/{interfaceRef}/ipv4/{ipId}/mac# - PUTBind a server interface's IPv6 subnet to a MAC
/servers/{serverId}/interfaces/{interfaceRef}/ipv6/{subnetId}/mac# - GETRetrieve a server interface's VLANs
/servers/{serverId}/interfaces/{interfaceRef}/vlans# - POSTAdd a VLAN to a server interface
/servers/{serverId}/interfaces/{interfaceRef}/vlans# - PUTUpdate a VLAN on a server interface
/servers/{serverId}/interfaces/{interfaceRef}/vlans/{vlanId}# - DELETERemove a VLAN from a server interface
/servers/{serverId}/interfaces/{interfaceRef}/vlans/{vlanId}# - POSTRestore a server backup
/servers/{serverId}/backupManager/restore# - POSTCreate a server backup
/servers/{serverId}/backupManager/backup# - GETList destinations
/servers/{serverId}/migrate/hybrid/destinations# - GETDestination availability
/servers/{serverId}/migrate/hybrid/destinations/{destinationId}# - GETHybrid migration status
/servers/{serverId}/migrate/hybrid# - POSTStart hybrid migration
/servers/{serverId}/migrate/hybrid# - POSTRetry failed migration
/servers/{serverId}/migrate/hybrid/retry# - POSTCancel failed hybrid migration
/servers/{serverId}/migrate/hybrid/cancel# - POSTComplete migration
/servers/{serverId}/migrate/hybrid/complete# - POSTRevert migration
/servers/{serverId}/migrate/hybrid/revert# - GETLive migration status
/servers/{serverId}/migrate/live# - POSTStart live migration
/servers/{serverId}/migrate/live# - POSTCancel failed live migration
/servers/{serverId}/migrate/live/cancel# - POSTAbort migration
/servers/{serverId}/migrate/live/abort# - POSTForce cancel failed migration
/servers/{serverId}/migrate/live/forceCancel# - POSTForce data success
/servers/{serverId}/migrate/live/forceDataSuccess# - POSTResume migration
/servers/{serverId}/migrate/live/resume# - GETRetrieve a server's elevation
/servers/{serverId}/elevate# - POSTElevate a server
/servers/{serverId}/elevate# - DELETEDiscard an elevation
/servers/{serverId}/elevate# - POSTCommit an elevated drive
/servers/{serverId}/elevate/commit# - GETRetrieve a server's rescue state
/servers/{serverId}/rescue# - POSTStart a rescue session
/servers/{serverId}/rescue# - DELETEEnd a rescue session
/servers/{serverId}/rescue# - GETRetrieve a server's ISO media
/servers/{serverId}/media/iso# - POSTMount an ISO on a server
/servers/{serverId}/media/iso# - DELETEEject a server's ISO
/servers/{serverId}/media/iso# - GETRetrieve a server's disks
/servers/{serverId}/disks# - POSTAdd a disk to a server
/servers/{serverId}/disks# - GETRetrieve a server disk
/servers/{serverId}/disks/{diskRef}# - PUTUpdate a server disk
/servers/{serverId}/disks/{diskRef}# - DELETEDelete a server disk
/servers/{serverId}/disks/{diskRef}# - DELETECancel a server disk's queued action
/servers/{serverId}/disks/{diskRef}/pending# - GETAssigned assets
/servers/{serverId}/hypervisorAssets# - GETAvailable assets
/servers/{serverId}/hypervisorAssets/available# - GETAsset details
/servers/{serverId}/hypervisorAssets/{assetId}# - POSTAttach an asset
/servers/{serverId}/hypervisorAssets/{assetId}# - DELETEDetach an asset
/servers/{serverId}/hypervisorAssets/{assetId}# - PUTReorder assets
/servers/{serverId}/hypervisorAssets/order# - GETList a server's notes
/servers/{serverId}/notes# - POSTAdd a note to a server
/servers/{serverId}/notes# - GETRetrieve IPv4 from an IP block
/connectivity/ipblocks/{blockId}/ipv4# - POSTCreate an IP block
/connectivity/ipblocks# - PUTUpdate an IP block
/connectivity/ipblocks/{blockId}# - DELETEDelete an IP block
/connectivity/ipblocks/{blockId}# - GETRetrieve the hypervisors an IP block is bound to
/connectivity/ipblocks/{blockId}/hypervisors# - GETRetrieve IPv6 subnets from an IP block
/connectivity/ipblocks/{blockId}/ipv6# - POSTGenerate IPv6 subnets for an IP block
/connectivity/ipblocks/{blockId}/ipv6/generate# - DELETEDelete a generated IPv6 subnet
/connectivity/ipblocks/{blockId}/ipv6/{subnetId}# - GETRetrieve the IPv6 blacklist of an IP block
/connectivity/ipblocks/{blockId}/blacklist# - POSTBlacklist an IPv6 subnet
/connectivity/ipblocks/{blockId}/blacklist# - DELETERemove an IPv6 subnet from the blacklist
/connectivity/ipblocks/{blockId}/blacklist/{entryId}# - GETRetrieve IP block groups
/connectivity/ipblockgroups# - POSTCreate an IP block group
/connectivity/ipblockgroups# - GETRetrieve an IP block group
/connectivity/ipblockgroups/{groupId}# - PUTRename an IP block group
/connectivity/ipblockgroups/{groupId}# - DELETEDelete an IP block group
/connectivity/ipblockgroups/{groupId}# - POSTAdd an IP block to a group
/connectivity/ipblockgroups/{groupId}/blocks# - DELETERemove an IP block from a group
/connectivity/ipblockgroups/{groupId}/blocks/{blockId}# - GETRetrieve the IP audit log
/connectivity/ipaudit# - GETExport the IP audit log
/connectivity/ipaudit/export# - PUTReserve/Unreserve an IPv4 address
/connectivity/ipv4/reserve# - PUTSet or clear the MAC address of an IPv4 address
/connectivity/ipv4/mac# - PUTSet or clear the reverse DNS of an IPv4 address
/connectivity/ipv4/rdns# - PUTSet or clear the reverse DNS of an IPv6 address
/connectivity/ipv6/rdns# - GETList reverse DNS zones
/connectivity/rdns/zones# - POSTRebuild a reverse DNS zone
/connectivity/rdns/zones/{zoneId}/rebuild# - GETRetrieve backups
/backupManager/backups# - POSTCreate a server backup (Backup Manager path)
/backupManager/backup/server/{serverId}# - POSTRestore a server backup (Backup Manager path)
/backupManager/restore/server/{serverId}# - GETRetrieve jobs
/backupManager/jobs# - GETRetrieve a job
/backupManager/jobs/{jobId}# - GETRetrieve ISOs
/media/iso# - POSTAdd an ISO to the library
/media/iso# - PUTUpdate an ISO
/media/iso/{isoId}# - DELETEDelete an ISO
/media/iso/{isoId}# - PUTSet the users an ISO is assigned to
/media/iso/{isoId}/users# - GETRetrieve templates
/media/templates# - GETRetrieve a template
/media/templates/{templateId}# - POSTCreate a package
/packages# - PUTUpdate a package
/packages/{packageId}# - DELETEDelete a package
/packages/{packageId}# - POSTDuplicate a package
/packages/{packageId}/duplicate# - GETRetrieve queue items
/queue# - GETRetrieve users
/users# - GETRetrieve a user by id
/users/{userId}# - PUTUpdate a user by id
/users/{userId}# - DELETEDelete a user by id
/users/{userId}#
Changes#
- GETRetrieve a firewall ruleset
/firewall/rulesets/{rulesetId}#- Rules are listed in enforcement order, lowest priority value first, ties in the order added; they were listed highest first.
- GETRetrieve hypervisors
/compute/hypervisors#- Each hypervisor carries
prohibitand asettingsobject with every propertyPUT /compute/hypervisors/{hypervisorId}accepts. - Storage entries report their own
createdandupdatedtimestamps instead of the last network interface's.
- Each hypervisor carries
- GETRetrieve a hypervisor
/compute/hypervisors/{hypervisorId}#- Carries
prohibitand asettingsobject with every propertyPUT /compute/hypervisors/{hypervisorId}accepts, so a GET round-trips into a PUT.
- Carries
- PUTUpdate a hypervisor
/compute/hypervisors/{hypervisorId}#networkFilter.firewallEnginechooses where the servers' firewall rules are enforced, libvirt nwfilter or native nft; the hypervisor switches when its filters are regenerated.
- GETRetrieve metrics
/compute/hypervisors/{hypervisorId}/metrics#- Windows longer than 24 hours no longer fail with a server error.
- GETRetrieve firewall
/servers/{serverId}/firewall/{interface}#- Scoped by interface type: no longer lists the other interface's rules when the two interfaces share a row id.
- GETRetrieve a server interface's firewall rules
/servers/{serverId}/firewall/{interfaceRef}/rules#- Rules are listed in enforcement order, lowest priority value first, ties in the order added; they were listed highest first.
- POSTAdd a firewall rule to a server interface
/servers/{serverId}/firewall/{interfaceRef}/rules#- Accepts
locked(default true). A locked rule that matches a rule the server's owner added takes that rule over, locked and enabled, and the reply carriespromoted: true. - Accepts
rateLimiton an allow rule with a direction,icmp(type and code) on an ICMP rule, the actionreject, andnote; a rule with a rate limit, an ICMP type or reject is native nft only and reads back withengine: native. Rules read back withrulesetIdwhere they were copied from a ruleset. - Scoped by interface type: a server whose primary and secondary interfaces share a row id no longer has both rule sets deleted. The delete and the copy are one transaction.
- The path is
rules. A body withrulesetsis the 7.0 replace-all form, still honoured onprimaryandsecondary, and deprecated in favour of attaching a ruleset and applying.
- Accepts
- PUTModify primary traffic allowance
/servers/{serverId}/modify/traffic#- Accepts the per-server traffic policy fields;
trafficmay be omitted when a policy field is sent. - BreakingAllowance is in decimal GB (1 GB = 1,000,000,000 bytes).
- Accepts the per-server traffic policy fields;
- POSTBoot a server
/servers/{serverId}/power/boot#- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- POSTShutdown a server
/servers/{serverId}/power/shutdown#- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- POSTRestart a server
/servers/{serverId}/power/restart#- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- POSTPower off a server
/servers/{serverId}/power/poweroff#- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- GETList destinations
/servers/{serverId}/migrate/hybrid/destinations#reasonreports outstanding sub-actions as a reason the server cannot be migrated.
- POSTStart hybrid migration
/servers/{serverId}/migrate/hybrid#- Refuses with 409 while the server has sub-actions outstanding (pending, running, or failed and awaiting retry); previously they were discarded.
- POSTStart live migration
/servers/{serverId}/migrate/live#- Failed sub-actions awaiting retry now block the start as well as pending ones.
- GETRetrieve a server
/servers/{serverId}#- Carries
firewallUser, whether the server's owner may manage the firewall in the client area, and each network interface reportsfirewallPendingandfirewallRevision, whether rule or switch changes are waiting to reach the hypervisor. The same shape is returned by create and build.
- Carries
- PUTAdd, remove or modify a backup plan
/servers/{serverId}/backups/plan/{planId}#- Deprecated. Legacy backup plans are replaced by Backup Manager; use the Backup Manager endpoints under Servers.
- POSTBuild a server
/servers/{serverId}/build#- BreakingA server ID that does not exist answers 404 instead of 520, and a validation failure names the failing rule instead of an empty errors list.
- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- PUTChange a server package
/servers/{serverId}/package/{packageId}#- The package's traffic policy follows the
primaryNetworkTrafficflag along with the allowance. - Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- The package's traffic policy follows the
- POSTCreate a server
/servers#- Breaking
trafficis in decimal GB (1 GB = 1,000,000,000 bytes).
- Breaking
- POSTReset a server password
/servers/{serverId}/resetPassword#- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- POSTSuspend a server
/servers/{serverId}/suspend#- Takes an optional
reason, kept as a suspension note on the server. Refuses with 409 when the server is already suspended.
- Takes an optional
- GETRetrieve a server's traffic statistics
/servers/{serverId}/traffic#- Added
data.trafficBytesPerGb, the size of a gigabyte the allowance figures in this response are counted in. Operators may now choose binary gigabytes in the virtualization settings; decimal remains the default. - BreakingTraffic is measured in decimal units: 1 GB is 1,000,000,000 bytes. Allowances and usage figures are 7.4% higher in GB terms than the previous binary measurement.
- Added
- POSTUnsuspend a server
/servers/{serverId}/unsuspend#- Takes an optional
reason, kept as a suspension note on the server. Refuses with 409 when the server is not suspended; previously the unsuspend ran anyway.
- Takes an optional
- POSTEnable or disable VNC
/servers/{serverId}/vnc#- Refuses with 423 while the server is suspended; previously the action ran against a suspended server.
- PUTModify storage
/servers/{serverId}/modify/storage#- Any disk attached to the server can be grown by selecting it with
drive. - The grow is queued under the storage point's capacity lock with the growth reserved, and the size changes only once the hypervisor confirms the resize.
PUT /servers/{serverId}/disks/{diskRef}withsizeGbdoes the same and returns the queued action.
- Any disk attached to the server can be grown by selecting it with
- PUTModify CPU cores
/servers/{serverId}/modify/cpuCores#- BreakingRefuses with 422 when the hypervisor does not have enough free cores; previously the check never fired.
- POSTAdd IPv4 addresses to an IP block
/connectivity/ipblocks/{blockId}/ipv4#- BreakingTakes
type: cidrwithaddress,prefixandhostsOnlyas well astype: range. The range walks the whole address space betweenstartandendinstead of changing only the last octet. Answers 200 withcreated,existing,elsewhereandtotalcounts instead of an empty 204, and refuses more than 65,536 addresses in one call.
- BreakingTakes
- GETRetrieve packages
/packages#- Every package field is returned (virtualization options, additional disks, self-service settings, template collections, firewall rulesets, hypervisor asset groups, profile names), and the list can be paged with
resultsandpage. Without them it stays the unpaged list it always was.
- Every package field is returned (virtualization options, additional disks, self-service settings, template collections, firewall rulesets, hypervisor asset groups, profile names), and the list can be paged with
- GETRetrieve a package
/packages/{packageId}#- Returns every package field, in the shape the update endpoint accepts.
- GETRetrieve a queue item
/queue/{queueId}#- The item carries
state: pending, running, finished or failed.
- The item carries
- POSTAdd an SSH key to a user account
/ssh_keys#- BreakingAn unknown user returns 404 with
errorsas an array; previously 422 with a string.
- BreakingAn unknown user returns 404 with
- DELETEDelete an SSH key from a user
/ssh_keys/{keyId}#- BreakingAn unknown key returns 404 with
errorsas an array; previously 422 with a string.
- BreakingAn unknown key returns 404 with
- GETRetrieve a user
/users/{extRelationId}/byExtRelation#- The user carries
relationStrs, the relation strings it is linked by.
- The user carries
- PUTModify a user
/users/{extRelationId}/byExtRelation#selfService: 0is applied; previously a value of 0 was ignored.- A
selfServicevalue outside 0 to 3 is refused with 422; previously it disabled self service.
- POSTAdd a resource pack to a user
/selfService/resourcePack/byUserExtRelationId/{extRelationId}#- Breaking
enableddefaults to true when omitted, as documented; previously an omitted value created the pack disabled.
- Breaking
- GETRetrieve hourly statistics
/selfService/hourlyStats/byUserExtRelationId/{extRelationId}#- BreakingThe 422 response returns
errorsas an array.
- BreakingThe 422 response returns
- PUTSet an hourly resource pack
/selfService/hourlyResourcePack/byUserExtRelationId/{extRelationId}#- BreakingAn id that is not an hourly limit profile returns 422 instead of silently clearing the pack.
New fields#
- PUTModify primary traffic allowance
/servers/{serverId}/modify/traffic#trafficCountDirectiontrafficLimitActiontrafficLimitThrottleIntrafficLimitThrottleOuttrafficLimitNotification1trafficLimitNotification2
- POSTSuspend a server
/servers/{serverId}/suspend#reason
- POSTUnsuspend a server
/servers/{serverId}/unsuspend#reason
- PUTModify storage
/servers/{serverId}/modify/storage#drive