Changelog
What changed in the API, newest first.
2 min read Updated
Every change to the API, newest first. Changes within a version never break working code (see Versioning).
Changes
-
Cloudflare protection
Cloudflare protection was removed from Rabbitflare. Its three operations stay in
/v1, deprecated: each answers403 feature_unavailablefor every site, and they go in the next version. The account'sfeatures.protectionis alwaysfalse. Nothing else changes: a site's CDN, Cloudflare CDN among them, and a Cloudflare account you connected work as before.Operations: Get a site's Cloudflare protection, Turn a site's Cloudflare protection on or off, List requests Cloudflare stopped on a site
-
The JavaScript and TypeScript library
npm install @rabbitflare/api: typed calls for every operation, paging, retries that never do a change twice, waiting for a change to finish, and webhook signature checks. Every operation's page now shows its call with the library too. See The SDK. -
Site tools
Manage each site's tools from your own code: the CDN, the firewall and Cloudflare protection, server security and malware protection (Imunify360), resources, cron jobs, files, backups (Rabbitflare Backup or storage of your own), staging, cloning, RabbitPress Cache, Media Offload and Rabbitflare SMTP, with their events. Turning on a feature that costs money needs
billing:write(Turn on paid features) and a token for all servers; nothing is charged in the request: it's billed each month, as in the panel.In the reference: CDN, Firewall, Cloudflare protection, Server security, Malware protection, Resources, Cron jobs, Files, Backups, Staging, Cloning, RabbitPress Cache, Media Offload, Rabbitflare SMTP
-
Support tickets
Read your account's support tickets, open new ones and answer them, with their files, from your own code; the events
ticket.openedandticket.answeredsay when a ticket is opened or answered. Also changed: the token permissions for domains, DNS, Cloudflare, billing, the wallet, licences and Rabbitflare Mail are gone, as those parts won't be in the API (a token that had one keeps the rest). Costs and paid features keepsbilling:read(View costs) andbilling:write(Turn on paid features). And a site on a server still on its free trial answers403 trial_lockedto WordPress sign-in and admin password resets until the server is kept.In the reference: Support tickets
Operations: Get the site's WordPress login, Reset the WordPress administrator's password
-
The Rabbitflare API, version 1
The first version of the API: manage your servers and WordPress sites from your own code, with API tokens made in the control panel. Read your account and what each cloud offers; create, power, resize, snapshot, restore and destroy servers; install WordPress sites and connect their domains; follow every change until it's done, read your account's activity, and have webhooks tell your own URL when something happens.
In the reference: Account, Catalogue, Servers, Sites, Site domains, Events, Webhooks, Token
Still have a question?
Our team answers support tickets about the API, and other developers answer in the community.