API referenceSections

WordPress

22 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
POST/api/v1/tenants/{tid}/sites/{id}/wordpress 202Install WordPress into an empty site; the admin password is shown once
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/accelThe site's WordPress page and object cache
PUT/api/v1/tenants/{tid}/sites/{id}/wordpress/accel 202Turn the page and object cache on or off; the server checks the site before and after and undoes the change if it answers differently or serves a cached page to a signed-in visitor
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/accel/purge 202Empty the page and object cache
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/core 202Update WordPress itself to the version in the signed catalog, restoring a backup if the site stops working
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/hardeningThe latest hardening state
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/hardening 202Apply or undo hardening items; with none, only check
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/loginA one-time wp-admin sign-in link, valid for 60 seconds; only its hash reaches the server
PUT/api/v1/tenants/{tid}/sites/{id}/wordpress/policySet the automatic update policy
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/publish 202Copy plugins and themes from a staging copy to its live site. Uploads and the database stay as they are
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/staging 202Copy a live WordPress site to a new hostname for testing
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/statusThe latest check of WordPress versions and available updates
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/status 202Run a new check
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/toolkitThis site's WordPress Toolkit row (ADR 0082)
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/update 202Update plugins or themes, restoring a backup if the site stops working
GET/api/v1/tenants/{tid}/wordpressEvery WordPress site of the tenant, on every server
POST/api/v1/tenants/{tid}/wordpress/discoverFind WordPress in sites' folders and attach it; with server_id, every site on that server (server.manage)
GET/api/v1/tenants/{tid}/wordpress/updatesThe update queue, newest first
POST/api/v1/tenants/{tid}/wordpress/updates 202Queue a smart update of many sites (snapshot, update, check, roll back on failure)
GET/api/v1/tenants/{tid}/wordpress/vulnerability-feedThe vulnerability feed's state (ADR 0083)
PUT/api/v1/tenants/{tid}/wordpress/vulnerability-feedSet (or with an empty key, remove) the feed's API key; provider tenant only
POST/api/v1/tenants/{tid}/wordpress/vulnerability-feed/refreshDownload the feed now