Referência da API

compute

168 endpoints nesta área. Cada um tem a sua própria página com os respetivos parâmetros, a respetiva resposta e um pedido que pode executar.

Toda a documentação para programadores →

Zinn®, o nosso Viking, a martelar na sua bigorna ao lado de um endpoint de API a enviar eventos para vários ouvintes.
MétodoCaminhoO que fazPermissão
GET/v1/certificates/ordersThis organisation's certificate orders.sites.view
POST/v1/certificates/ordersStart a certificate order. Spends nothing.billing.payment.manage
DELETE/v1/certificates/orders/{orderId}Cancel an order inside the authority's refund window.billing.payment.manage
GET/v1/certificates/orders/{orderId}One certificate order.sites.view
POST/v1/certificates/orders/{orderId}/refreshAsk the authority where this order actually got to.sites.view
POST/v1/certificates/orders/{orderId}/renewStart the successor order for an expiring certificate.billing.payment.manage
POST/v1/certificates/orders/{orderId}/submitBuy the certificate. This spends money.billing.payment.manage
GET/v1/certificates/productsTLS certificates a customer can buy.sites.view
GET/v1/compute/add-onsWhat can be bought to run ON a Zinn® Private Cloud machine.sites.view
POST/v1/compute/care/reportA cared machine's own patch report (machine-to-engine).Nenhuma chave de API
GET/v1/compute/catalogueGet everything the server order screen is built from.sites.view
GET/v1/compute/clustersThe organisation's Kubernetes clusters.sites.view
POST/v1/compute/clustersCreate a k3s cluster, optionally with Argo CD.billing.payment.manage
POST/v1/compute/clusters/quoteWhat a cluster costs, before it is built.sites.view
DELETE/v1/compute/clusters/{clusterId}Delete a cluster and every machine in it.sites.delete
GET/v1/compute/clusters/{clusterId}One cluster, with its machines and what it reports.sites.view
GET/v1/compute/clusters/{clusterId}/kubeconfigDownload the cluster's kubeconfig.sites.delete
GET/v1/compute/connected-serversThe org's connected servers (connect your own server) and the next one's price.sites.view
POST/v1/compute/connected-serversStart connecting a server; returns the ONE install line (single use, 30 minutes).billing.payment.manage
DELETE/v1/compute/connected-servers/{serverId}Disconnect a server; its monthly charge stops. Nothing on the machine is touched by us.billing.payment.manage
GET/v1/compute/connected-servers/{serverId}One connected server and its live checks (the wizard polls this).sites.view
POST/v1/compute/connected-servers/{serverId}/lineA fresh install line for a machine not yet connected; every older line dies.billing.payment.manage
DELETE/v1/compute/connected-servers/{serverId}/panelRemove the panel and our access to the machine.billing.payment.manage
POST/v1/compute/connected-servers/{serverId}/panelConsent to the control panel and get its separate single-use line.billing.payment.manage
POST/v1/compute/connected-servers/{serverId}/panel/back-to-watchThe way back from a failed or dead panel build to watch only.billing.payment.manage
POST/v1/compute/connected-servers/{serverId}/panel/retryRetry a failed or dead panel build.billing.payment.manage
GET/v1/compute/eligibilityWhether this organisation may buy a machine on our own cloud.sites.view
POST/v1/compute/eligibilitySubmit an organisation for verification.billing.payment.manage
POST/v1/compute/eligibility/documentGet a presigned upload slot for the ID-check document.billing.payment.manage
POST/v1/compute/eligibility/verify-emailEmail the caller a link that verifies their address.sites.view
GET/v1/compute/firewallsList your named firewalls.sites.view
POST/v1/compute/firewallsCreate a named firewall.sites.restart
DELETE/v1/compute/firewalls/{firewallId}Delete a named firewall.sites.restart
GET/v1/compute/firewalls/{firewallId}One named firewall.sites.view
PUT/v1/compute/firewalls/{firewallId}Rename a named firewall or replace its rules.sites.restart
POST/v1/compute/firewalls/{firewallId}/attachMake a server follow a named firewall.sites.restart
POST/v1/compute/firewalls/{firewallId}/detachStop a server following a named firewall.sites.restart
POST/v1/compute/guest-reportsA trial-credit machine's own load report (machine-to-engine).Nenhuma chave de API
GET/v1/compute/networksThe organisation's private networks.sites.view
POST/v1/compute/networksCreate a private network from a server.sites.restart
DELETE/v1/compute/networks/{networkId}Delete a private network.sites.delete
GET/v1/compute/offersList the dedicated server-auction machines on sale now, at our price.sites.view
GET/v1/compute/regionsList the cloud regions a machine can be bought in right now.sites.view
GET/v1/compute/regions/resolveAnswer "can I have a machine in this place?" without placing anything.sites.view
GET/v1/compute/server-sitesYour servers that can host websites, with how many sites each one holds.sites.view
GET/v1/compute/serversList the servers in scope.sites.view
POST/v1/compute/serversOrder a server.sites.view
POST/v1/compute/servers/meteredOrder a server paid for by the hour from the account balance.billing.payment.manage, sites.view
GET/v1/compute/servers/{serverId}Get one server, with the provider's live state merged in.sites.view
DELETE/v1/compute/servers/{serverId}/add-onCancel this machine's add-on and release its licence.sites.view
GET/v1/compute/servers/{serverId}/add-onThe add-on this machine carries.sites.view
POST/v1/compute/servers/{serverId}/add-onBuy an add-on for this machine.sites.view
POST/v1/compute/servers/{serverId}/add-on/panel-loginEnable one-click Plesk sign-in on this machine, with your consent.sites.view
DELETE/v1/compute/servers/{serverId}/administrator-passwordDelete our copy of a Windows server's Administrator password.sites.delete, sites.view
POST/v1/compute/servers/{serverId}/administrator-passwordShow a Windows server's Administrator password.sites.delete
GET/v1/compute/servers/{serverId}/backupsA server's automatic backup arrangement.sites.view
POST/v1/compute/servers/{serverId}/backupsTurn a server's automatic backups on or off.billing.payment.manage
GET/v1/compute/servers/{serverId}/backups/tierThe machine's backup tier, and what upgrading would cost.sites.view
POST/v1/compute/servers/{serverId}/backups/tierMove the machine between the standard and extended backup tiers.billing.payment.manage
POST/v1/compute/servers/{serverId}/cancelRetire a server at the provider.sites.view
POST/v1/compute/servers/{serverId}/consoleOpen an out-of-band console onto a server.sites.restart
DELETE/v1/compute/servers/{serverId}/console/allowRevoke every address's console access.sites.restart
POST/v1/compute/servers/{serverId}/console/allowLet one address reach an IP-gated console.sites.restart
GET/v1/compute/servers/{serverId}/ddos-protectionA server's DDoS protection add-on.sites.view
POST/v1/compute/servers/{serverId}/ddos-protectionSwitch a server's DDoS protection add-on on or off.billing.payment.manage
GET/v1/compute/servers/{serverId}/firewallA server's network filter.sites.view
PUT/v1/compute/servers/{serverId}/firewallReplace a server's firewall rules.sites.restart
GET/v1/compute/servers/{serverId}/floating-ipsThe floating IPs routed to a server.sites.view
POST/v1/compute/servers/{serverId}/floating-ipsReserve a floating IP and route it to a server.billing.payment.manage
POST/v1/compute/servers/{serverId}/floating-ips/quoteWhat a floating IP on this server costs per month.sites.view
DELETE/v1/compute/servers/{serverId}/floating-ips/{floatingIpId}Release a floating IP.sites.delete
POST/v1/compute/servers/{serverId}/floating-ips/{floatingIpId}/moveMove a floating IP to another server.billing.payment.manage
GET/v1/compute/servers/{serverId}/gate-loginThe state of a managed server's monitoring login.sites.view
POST/v1/compute/servers/{serverId}/gate-login/rotateRotate a managed server's monitoring login.sites.restart
GET/v1/compute/servers/{serverId}/healthRead a server's hardware and live resource usage.sites.view
GET/v1/compute/servers/{serverId}/imagesWhat this machine may be rebuilt to.sites.view
PUT/v1/compute/servers/{serverId}/install-mediaMount an installer disc (restarts the machine) or eject it.sites.delete
GET/v1/compute/servers/{serverId}/limitsWhat a server may hold.sites.view
GET/v1/compute/servers/{serverId}/litespeed-tuningThe LiteSpeed Enterprise settings of one of your servers.sites.view
PUT/v1/compute/servers/{serverId}/litespeed-tuningSave and apply LiteSpeed Enterprise settings on one of your servers.sites.restart
POST/v1/compute/servers/{serverId}/litespeed-tuning/rollbackPut back the LiteSpeed configuration your server had before its first tuning.sites.restart
DELETE/v1/compute/servers/{serverId}/malware-cleanRemove malware cleaning — the server goes back to the free scan only.sites.view
GET/v1/compute/servers/{serverId}/malware-cleanMalware cleaning on this server — the add-on's live price, whether it can be added, and the licence's site cover.sites.view
POST/v1/compute/servers/{serverId}/malware-cleanAdd malware cleaning to this server.sites.view
DELETE/v1/compute/servers/{serverId}/managed-careRemove managed care — the machine becomes self-managed.sites.view
GET/v1/compute/servers/{serverId}/managed-careWho looks after this machine — self-managed or Zinn® Managed — and the care add-on's live price.sites.view
POST/v1/compute/servers/{serverId}/managed-careAdd managed care to this machine.sites.view
POST/v1/compute/servers/{serverId}/managed-care/connectConnect a Zinn® Managed machine so we can patch and watch it.sites.view
GET/v1/compute/servers/{serverId}/metricsHow hard a server has worked over a window — CPU, network and disk rates.sites.view
POST/v1/compute/servers/{serverId}/nameRename a server.sites.restart
POST/v1/compute/servers/{serverId}/networksJoin a server to one of the organisation's private networks.sites.restart
DELETE/v1/compute/servers/{serverId}/networks/{networkId}Take a server off a private network.sites.restart
GET/v1/compute/servers/{serverId}/overageWhat this machine owes for bandwidth over its allowance this month.sites.view
GET/v1/compute/servers/{serverId}/panelWhether the Zinn® panel can be added to this server now, and why not.sites.view
POST/v1/compute/servers/{serverId}/panelAdd the Zinn® panel to a bare server.sites.delete, sites.view
POST/v1/compute/servers/{serverId}/panel/retryRetry the Zinn® panel's setup on a server.sites.restart
GET/v1/compute/servers/{serverId}/phpThe PHP versions installed on one of your servers, and the default a new site gets.sites.view
GET/v1/compute/servers/{serverId}/planWhat this machine costs, and what else it could have.sites.view
POST/v1/compute/servers/{serverId}/planBuy one paid option for this machine.billing.payment.manage, sites.view
DELETE/v1/compute/servers/{serverId}/plan/{purchaseId}Stop paying for one option — where the provider permits it.billing.payment.manage
POST/v1/compute/servers/{serverId}/powerStart, stop or reboot a server.sites.view
POST/v1/compute/servers/{serverId}/rebuildReinstall a server's operating system.sites.view
GET/v1/compute/servers/{serverId}/recoveryRead a server's rescue mode and installer-disc state.sites.view
GET/v1/compute/servers/{serverId}/region-moveRead what moving a server to another city would involve.sites.view
POST/v1/compute/servers/{serverId}/renewExtend a server's term (refused until paid through checkout).sites.view
GET/v1/compute/servers/{serverId}/renewalRead a server's billing contract.sites.view
POST/v1/compute/servers/{serverId}/rescueTurn rescue mode on or off. ⛔ Restarts the machine.sites.delete
POST/v1/compute/servers/{serverId}/resizeMove a server onto another machine size.sites.view
POST/v1/compute/servers/{serverId}/resize/quoteGet what resizing a server would cost, before the charge.sites.view
GET/v1/compute/servers/{serverId}/restore-testRead the latest weekly restore test of a server's backups.sites.view
GET/v1/compute/servers/{serverId}/reverse-dnsThe PTR of every public address on a machine.sites.view
PUT/v1/compute/servers/{serverId}/reverse-dnsPoint one address's PTR at a hostname, or reset it.sites.restart
POST/v1/compute/servers/{serverId}/root-passwordReset a server's root password. ⛔ Reboots the machine.sites.delete
GET/v1/compute/servers/{serverId}/servicesList the services running inside a server.sites.view
POST/v1/compute/servers/{serverId}/services/actionStart, stop or restart one service inside a server.sites.view
GET/v1/compute/servers/{serverId}/site-movesThe websites you can move onto this server of yours.sites.view
POST/v1/compute/servers/{serverId}/site-movesMove one of your websites onto this server of yours.sites.create
GET/v1/compute/servers/{serverId}/sitesThe sites on one of your servers, and whether another one fits.sites.view
POST/v1/compute/servers/{serverId}/sitesDeploy a new site onto one of your servers.sites.create
GET/v1/compute/servers/{serverId}/snapshotsList a server's on-demand disk images.sites.view
POST/v1/compute/servers/{serverId}/snapshotsTake a snapshot of a server now.billing.payment.manage
DELETE/v1/compute/servers/{serverId}/snapshots/{snapshotId}Delete a snapshot.sites.view
POST/v1/compute/servers/{serverId}/snapshots/{snapshotId}Roll a server back to a snapshot.sites.view
GET/v1/compute/servers/{serverId}/softwareList the software available on a server.sites.view
POST/v1/compute/servers/{serverId}/ssh-keysAdd one of the organisation's saved SSH keys to a machine already built.sites.restart
POST/v1/compute/servers/{serverId}/terminalMint a single-use ticket for one web terminal session on a server.sites.restart
DELETE/v1/compute/servers/{serverId}/terminal/host-keyTrust a server's new SSH identity on the next terminal connection.sites.restart
GET/v1/compute/servers/{serverId}/traffic-packsA server's traffic packs and its traffic against the cap this month.sites.view
POST/v1/compute/servers/{serverId}/traffic-packsOrder a prepaid traffic pack for a server.billing.payment.manage
PUT/v1/compute/servers/{serverId}/traffic-packs/auto-top-upSwitch auto top-up from Zinn® credit on or off for a server.billing.payment.manage
POST/v1/compute/servers/{serverId}/traffic-packs/quoteWhat tb TB of extra traffic costs on this server.sites.view
GET/v1/compute/servers/{serverId}/usageOne server's metered hours, charges and ledger check for a month.sites.view
GET/v1/compute/servers/{serverId}/volumesThe block-storage volumes attached to a server.sites.view
POST/v1/compute/servers/{serverId}/volumesCreate a block-storage volume and attach it to a server.billing.payment.manage
POST/v1/compute/servers/{serverId}/volumes/quoteWhat a volume of a given size on this server costs per month.sites.view
DELETE/v1/compute/servers/{serverId}/volumes/{volumeId}Detach and delete a volume.sites.delete
PATCH/v1/compute/servers/{serverId}/volumes/{volumeId}Grow a volume.billing.payment.manage
GET/v1/compute/spend-capRead the organisation's monthly limit on metered compute.sites.view
PUT/v1/compute/spend-capSet or clear the organisation's monthly limit on metered compute.billing.payment.manage, sites.view
GET/v1/compute/ssh-keysThe SSH keys this organisation has registered.sites.view
POST/v1/compute/ssh-keysRegister a public key so a future order can install it.billing.payment.manage
DELETE/v1/compute/ssh-keys/{keyId}Forget a registered key.billing.payment.manage
DELETE/v1/compute/terminalTurn the web terminal off — destroy the organisation's terminal key.billing.payment.manage
GET/v1/compute/terminalWhether the web terminal is turned on for an organisation.sites.view
POST/v1/compute/terminalTurn the web terminal on — mint the organisation's terminal key.billing.payment.manage
GET/v1/compute/trial-creditRead the organisation's one-time Cloud trial credit.sites.view
POST/v1/compute/trial-creditClaim the one-time Cloud trial credit.billing.payment.manage, sites.view
GET/v1/compute/vps/optionsThe paid options a VPS of a given size can carry.sites.view
GET/v1/compute/vps/quoteWhat one configured VPS costs, itemised.sites.view
POST/v1/connect/enrolRedeem a single-use install token (machine-to-engine).Nenhuma chave de API
GET/v1/connect/install.shThe connect install script (machine-to-engine; plain POSIX sh).Nenhuma chave de API
POST/v1/connect/panelSpend a single-use panel line and issue this server's own login (machine-to-engine).Nenhuma chave de API
GET/v1/connect/panel.shThe add-the-panel script (machine-to-engine; plain POSIX sh).Nenhuma chave de API
POST/v1/connect/reportA connected machine's 5-minute report (machine-to-engine).Nenhuma chave de API
GET/v1/panels/connectionsThe control panels this organisation has connected.sites.view
POST/v1/panels/connectionsConnect a running Plesk panel so it can be managed from here.connections.manage
DELETE/v1/panels/connections/{connectionId}Disconnect a panel and delete its stored credential.connections.manage
GET/v1/panels/connections/{connectionId}One connected control panel.sites.view
POST/v1/panels/connections/{connectionId}/checkRe-probe what this panel can actually do.connections.manage
GET/v1/panels/connections/{connectionId}/clientsThe customer accounts held on this panel.sites.view
GET/v1/panels/connections/{connectionId}/domainsThe websites this panel is serving.sites.view
POST/v1/panels/connections/{connectionId}/install-licenceInstall a licence we bought onto this panel.connections.manage
POST/v1/panels/connections/{connectionId}/login-linkOne-click login — a one-time administrative session on the panel.sites.panel_access
GET/v1/panels/licencesThe control-panel licences this organisation holds.sites.view
POST/v1/panels/licencesBuy a control-panel licence.billing.payment.manage
DELETE/v1/panels/licences/{licenceId}Release a licence — the only thing that stops the charge.billing.payment.manage
GET/v1/panels/licences/{licenceId}One control-panel licence.sites.view
GET/v1/panels/productsControl-panel editions and extensions a customer can buy.sites.view