v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
WordPress

Get Status of WordPress for the site

For given site it returns status about whether or not WordPress is functioning properly

get/v1/sites/{id}/wp/status

Path parameters

idinteger required

ID of the Site you are interacting with

Example:8880000888

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "wordpress_status": {
      "operational_status": "operational",
      "error": "Uncaught Error: Call to undefined function add_filter() in phar:///usr/local/bin/wp/vendor/wp-cli/config-command/src/Config_Command.php(444) : eval()'d code:113\nStack trace:\n#0 phar:///usr/local/bin/wp/vendor/wp-cli/config-command/src/Config_Command.php(444): eval()\n#1 phar:///usr/local/bin/wp/vendor/wp-cli/config-command/src/Config_Command.php(427): Config_Command::get_wp_config_vars('/home/lahkfcj/p...')\n#2 [internal function]: Config_Command->get(Array, Array)\n#3 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)\n#4 [internal function]: WP_CLI\\Dispatcher\\CommandFactory::WP_CLI\\Dispatcher\\{closure}(Array, Array)\n#5 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)\n#6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(431): WP_CLI\\Dispatcher\\Subcommand->invoke(Array, Array, Array)\n#7 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/ph in phar:///usr/local/bin/wp/vendor/wp-cli/config-command/src/Config_Command.php(444) : eval()'d code on line 113"
    }
  }
}