API referenceSections

WordPressStatus

WordPressStatus object
  • core_target string optional
  • update_state string required
    Allowed values: "none" "running" "succeeded" "failed"
  • update_error string required
  • state string required
    Allowed values: "none" "checking" "ready" "failed"
  • error_code string required
  • checked_at string (date-time) | null required
  • core object required
    • version string required
    • update string required
  • plugins array<WordPressItem> | null required
  • themes array<WordPressItem> | null required
  • update_check_failed boolean required

Used by

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
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/update 202Update plugins or themes, restoring a backup if the site stops working
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
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