WordPress
22 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress 202 | Install WordPress into an empty site; the admin password is shown once |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel | The site's WordPress page and object cache |
| PUT | /api/v1/tenants/{tid}/sites/{id}/wordpress/accel 202 | Turn 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 202 | Empty the page and object cache |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/core 202 | Update 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/hardening | The latest hardening state |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/hardening 202 | Apply or undo hardening items; with none, only check |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/login | A 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/policy | Set the automatic update policy |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/publish 202 | Copy 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 202 | Copy a live WordPress site to a new hostname for testing |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/status | The latest check of WordPress versions and available updates |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/status 202 | Run a new check |
| GET | /api/v1/tenants/{tid}/sites/{id}/wordpress/toolkit | This site's WordPress Toolkit row (ADR 0082) |
| POST | /api/v1/tenants/{tid}/sites/{id}/wordpress/update 202 | Update plugins or themes, restoring a backup if the site stops working |
| GET | /api/v1/tenants/{tid}/wordpress | Every WordPress site of the tenant, on every server |
| POST | /api/v1/tenants/{tid}/wordpress/discover | Find WordPress in sites' folders and attach it; with server_id, every site on that server (server.manage) |
| GET | /api/v1/tenants/{tid}/wordpress/updates | The update queue, newest first |
| POST | /api/v1/tenants/{tid}/wordpress/updates 202 | Queue a smart update of many sites (snapshot, update, check, roll back on failure) |
| GET | /api/v1/tenants/{tid}/wordpress/vulnerability-feed | The vulnerability feed's state (ADR 0083) |
| PUT | /api/v1/tenants/{tid}/wordpress/vulnerability-feed | Set (or with an empty key, remove) the feed's API key; provider tenant only |
| POST | /api/v1/tenants/{tid}/wordpress/vulnerability-feed/refresh | Download the feed now |