MainWP REST API

Overview

The MainWP API uses REST conventions and returns all data in JSON format. Requests may be made using the HTTPS protocol and must be authenticated using a Consumer Key and Consumer Secret.

Requirements

You must be using MainWP 4.1.3 and the REST API must be enabled under MainWP > Settings > REST API. You must enable pretty permalinks (under WP > Settings > Permalinks) on your MainWP Dashboard site.

With the default permalinks REST API will not work!

Authentication

To authenticate API requests, Consumer Key and Consumer Secret credentials have to be included in each request. Both can be generated at MainWP > Settings > REST API page.

Authentication Parameters

  • consumer_key
  • consumer_secret

Example

https://example.com/wp-json/mainwp/v1/updates/available-updates?consumer_key=ck_b145c54fa36676a2ad47b8faf260de84beb70f5d&consumer_secret=cs_35f7a745fa7ae1243570436ede6be026f4731f9c 

Schema

The API is accessible via this endpoint:

https://example.com/wp-json/mainwp/v1/

* replace example.com with actual URL of your MainWP Dashboard site.

You may access the API over either HTTP or HTTPS (recommended where possible).

Version

The current version is v1 and takes a first-order position in endpoint URLs.

HTTP Methods

The MainWP REST API uses the appropriate HTTP method for each action:

  • HEAD – Used for any endpoint to return just the HTTP header information
  • GET – Used for retrieving resources
  • PUT – Used for updating resources
  • POST – Used for creating resources
  • DELETE – Used for deleting resources

Endpoints

The API supports 3 primary resources, each with a related set of endpoints:

Sites

This section lists all API endpoints that can be used to manipulate sites.

All Sites

Get all child sites.

URI:

/all-sites

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/all-sites?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "1": {
    "id": "1",
    "url": "https://wordpress-1518275.cloudwaysapps.com/",
    "name": "Child Site 1"
  },
  "2": {
    "id": "2",
    "url": "https://wordpress-1518270.cloudwaysapps.com/",
    "name": "Child Site 2"
  },
  "3": {
    "id": "3",
    "url": "https://wordpress-1540751.cloudwaysapps.com/",
    "name": "Child Site 3"
  },
  "4": {
    "id": "4",
    "url": "https://wordpress-1540756.cloudwaysapps.com/",
    "name": "Child Site 4"
  },
  "5": {
    "id": "5",
    "url": "https://wordpress-1540759.cloudwaysapps.com/",
    "name": "Child Site 5"
  },
  "6": {
    "id": "6",
    "url": "https://wordpress-1540776.cloudwaysapps.com/",
    "name": "Child Site 6"
  }
} 

All Sites Count

Get a number of child sites added to the MainWP Dashboard.

URI:

/all-sites-count

Method:

GET

Required Parameters:

  • No required parameters

Example Request:

https://example.com/wp-json/mainwp/v1/sites/all-sites-count?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example

{
  "count": 6
} 

Connected Sites

Get all child sites with the status connected.

URI:

/connected-sites

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/connected-sites?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "1": {
    "id": "1",
    "url": "https://wordpress-1518275.cloudwaysapps.com/",
    "name": "Child Site 1"
  },
  "2": {
    "id": "2",
    "url": "https://wordpress-1518270.cloudwaysapps.com/",
    "name": "Child Site 2"
  },
  "3": {
    "id": "3",
    "url": "https://wordpress-1540751.cloudwaysapps.com/",
    "name": "Child Site 3"
  },
  "4": {
    "id": "4",
    "url": "https://wordpress-1540756.cloudwaysapps.com/",
    "name": "Child Site 4"
  }
} 

Connected Sites Count

Get a number of connected child sites.

URI:

/connected-sites-count

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/connected-sites-count?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "count": 4
} 

Disconnected Sites

Get all child sites with the status disconnected.

URI:

/disconnected-sites

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/disconnected-sites?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "5": {
    "id": "5",
    "url": "https://wordpress-1540759.cloudwaysapps.com/",
    "name": "Child Site 5"
  },
  "6": {
    "id": "6",
    "url": "https://wordpress-1540776.cloudwaysapps.com/",
    "name": "Child Site 6"
  }
} 

Disconnected Sites Count

Get a number of disconnected child sites.

URI:

/disconnected-sites-count

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/disconnected-sites-count?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "count": 2
} 

Sync Sites

Run the sync sites process.

URI:

/sync-sites

Method:

POST

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/sync-sites?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Check Sites

Run the check sites process to get the HTTP response from child sites.

URI:

/check-sites

Method:

POST

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/sites/check-sites?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Disconnect Sites

Run the disconnect sites process.

URI:

/disconnect-sites

Method:

POST

Required Parameters:

  • No required parameters


Example Request:

https://example.com/wp-json/mainwp/v1/sites/disconnect-sites?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site

This section lists all API endpoints that can be used to manipulate a single site.

Site

Get child site data.

URI:

/site

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site


Example Request:

https://example.com/wp-json/mainwp/v1/site/site?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "id": "1",
  "userid": "2",
  "adminname": "admin_user",
  "name": "Child Site 1",
  "url": "https://wordpress-1518270.cloudwaysapps.com/",
  "pubkey": "",
  "privkey": "",
  "nossl": "0",
  "nosslkey": "",
  "siteurl": "https://wordpress-1518270.cloudwaysapps.com",
  "ga_id": "",
  "gas_id": "0",
  "offline_checks_last": "1603992287",
  "offline_check_result": "-1",
  "http_response_code": "200",
  "note": "",
  "note_lastupdate": "0",
  "statsUpdate": "1603913639",
  "directories": "",
  "plugin_upgrades": "",
  "theme_upgrades": "[]",
  "translation_upgrades": "[]",
  "premium_upgrades": "",
  "securityIssues": "8",
  "themes": "",
  "ignored_themes": "",
  "plugins": "[{\"mainwp\":\"F\",\"name\":\"Akismet Anti-Spam\",\"slug\":\"akismet\\/akismet.php\",\"description\":\"Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam<\\/strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.\",\"version\":\"4.1.1\",\"active\":0},{\"mainwp\":\"F\",\"name\":\"Classic Editor\",\"slug\":\"classic-editor\\/classic-editor.php\",\"description\":\"Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.\",\"version\":\"1.3\",\"active\":0},{\"mainwp\":\"F\",\"name\":\"Debug\",\"slug\":\"debug\\/debug.php\",\"description\":\"Debug your blog, wordpress site and multisite with <a href=\\\"http:\\/\\/www.soninow.com\\/\\\" target=\\\"_blank\\\">Soninow<\\/a>. Debug is a development\\/production tool, that's help you to remove bugs from your wordpress website.\",\"version\":\"1.9\",\"active\":1},{\"mainwp\":\"F\",\"name\":\"Maintenance\",\"slug\":\"maintenance\\/maintenance.php\",\"description\":\"Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.\",\"version\":\"3.97\",\"active\":1},{\"mainwp\":\"T\",\"name\":\"MainWP Child\",\"slug\":\"mainwp-child\\/mainwp-child.php\",\"description\":\"Provides a secure connection between your MainWP Dashboard and your WordPress sites. MainWP allows you to manage WP sites from one central location. Plugin documentation and options can be found here https:\\/\\/mainwp.com\\/help\\/.\",\"version\":\"4.1.2\",\"active\":1},{\"mainwp\":\"F\",\"name\":\"MainWP Child Reports\",\"slug\":\"mainwp-child-reports\\/mainwp-child-reports.php\",\"description\":\"The MainWP Child Report plugin tracks Child sites for the MainWP Client Reports Extension. The plugin is only useful if you are using MainWP and the Client Reports Extension.\",\"version\":\"2.0.6\",\"active\":1},{\"mainwp\":\"F\",\"name\":\"Wordfence Security\",\"slug\":\"wordfence\\/wordfence.php\",\"description\":\"Wordfence Security - Anti-virus, Firewall and Malware Scan\",\"version\":\"7.4.12\",\"active\":1}]",
  "ignored_plugins": "{\"classic-editor\\/classic-editor.php\":\"ClassicEditor\"}",
  "pages": "",
  "users": "[]",
  "categories": "[\"Test\",\"Uncategorized\"]",
  "pluginDir": "",
  "automatic_update": "0",
  "backup_before_upgrade": "2",
  "backups": "",
  "mainwpdir": "1",
  "loadFilesBeforeZip": "1",
  "is_ignoreCoreUpdates": "0",
  "is_ignorePluginUpdates": "0",
  "is_ignoreThemeUpdates": "0",
  "verify_certificate": "0",
  "force_use_ipv4": "0",
  "ssl_version": "0",
  "ip": "",
  "uniqueId": "VZD59qyK",
  "maximumFileDescriptorsOverride": "0",
  "maximumFileDescriptorsAuto": "1",
  "maximumFileDescriptors": "150",
  "http_user": "",
  "http_pass": "",
  "wpe": "0",
  "is_staging": "0",
  "disable_status_check": "0",
  "status_check_interval": "0",
  "health_threshold": "0",
  "http_send_noticed": "1",
  "http_code_noticed": "1",
  "disable_health_check": "0",
  "wpid": "1",
  "version": "4.1.2",
  "sync_errors": "",
  "dtsAutomaticSync": "1603973330",
  "dtsAutomaticSyncStart": "1603973323",
  "dtsSync": "1603991933",
  "dtsSyncStart": "1603991932",
  "totalsize": "0",
  "dbsize": "1736704",
  "extauth": "0d8f21d551d7c0sf8e57268716fsb072",
  "last_post_gmt": "1602690034",
  "health_issues_total": "0",
  "health_issues": "0",
  "health_value": "-25",
  "health_site_noticed": "1",
  "recent_comments": "[{\"id\":\"1\",\"status\":\"approved\",\"author\":\"A WordPress Commenter\",\"author_url\":\"https:\\/\\/wordpress.org\\/\",\"author_ip\":\"\",\"author_email\":\"wa&#112;uu&#64;wor&#100;pre&#115;&#115;.&#101;&#120;&#97;&#109;ple\",\"postId\":\"1\",\"postName\":\"Hello world!\",\"comment_count\":\"1\",\"content\":\"Hi, this is a comment.\\nTo get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.\\nCommenter avatars come from <a href=\\\"https:\\/\\/gravatar.com\\\">Gravatar<\\/a>.\",\"dts\":1601640570}]",
  "recent_posts": "[{\"id\":25,\"post_type\":\"post\",\"status\":\"publish\",\"title\":\"Test\",\"comment_count\":\"0\",\"dts\":1602690034,\"author\":\"bogdan\",\"categories\":\"Uncategorized\",\"tags\":\"\"},{\"id\":20,\"post_type\":\"post\",\"status\":\"publish\",\"title\":\"Test post\",\"comment_count\":\"0\",\"dts\":1602074396,\"author\":\"contact\",\"categories\":\"Uncategorized\",\"tags\":\"\"},{\"id\":1,\"post_type\":\"post\",\"status\":\"publish\",\"title\":\"Hello world!\",\"comment_count\":\"1\",\"dts\":1601640570,\"author\":\"contact\",\"categories\":\"Uncategorized\",\"tags\":\"\"}]",
  "recent_pages": "[{\"id\":27,\"post_type\":\"page\",\"status\":\"publish\",\"title\":\"Test date\",\"comment_count\":\"0\",\"dts\":1602762717,\"author\":\"bogdan\",\"categories\":\"\",\"tags\":\"\"},{\"id\":2,\"post_type\":\"page\",\"status\":\"publish\",\"title\":\"Sample Page\",\"comment_count\":\"0\",\"dts\":1601640570,\"author\":\"contact\",\"categories\":\"\",\"tags\":\"\"},{\"id\":3,\"post_type\":\"page\",\"status\":\"draft\",\"title\":\"Privacy Policy\",\"comment_count\":\"0\",\"dts\":1601640570,\"author\":\"contact\",\"categories\":\"\",\"tags\":\"\"}]",
  "phpversion": "7.4.11",
  "wp_upgrades": "[]",
  "favi_icon": null
} 

Site Info

Get child site info such as PHP version, MySQL version, WordPress versoin, Active theme, Debug mode, MainWP Child plugin version, PHP memory limit and Server IP.

URI:

/site-info

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-info?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "wpversion": "5.5.1",
  "debug_mode": true,
  "phpversion": "7.4.11",
  "child_version": "4.1.2",
  "memory_limit": "512M",
  "mysql_version": "10.3.24-MariaDB-1:10.3.24+maria~stretch-log",
  "themeactivated": "Twenty Nineteen",
  "ip": "127.0.0.1"
} 

Site Installed Plugins

Get the list of installed plugins on a Child Site.

URI:

/site-installed-plugins

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-installed-plugins?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

[
  {
    "mainwp": "F",
    "name": "Akismet Anti-Spam",
    "slug": "akismet/akismet.php",
    "description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
    "version": "4.1.1",
    "active": 0
  },
  {
    "mainwp": "F",
    "name": "Classic Editor",
    "slug": "classic-editor/classic-editor.php",
    "description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
    "version": "1.3",
    "active": 0
  },
  {
    "mainwp": "F",
    "name": "Debug",
    "slug": "debug/debug.php",
    "description": "Debug your blog, wordpress site and multisite with <a href=\"http://www.soninow.com/\" target=\"_blank\">Soninow</a>. Debug is a development/production tool, that's help you to remove bugs from your wordpress website.",
    "version": "1.9",
    "active": 1
  },
  {
    "mainwp": "F",
    "name": "Maintenance",
    "slug": "maintenance/maintenance.php",
    "description": "Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.",
    "version": "3.97",
    "active": 1
  },
  {
    "mainwp": "T",
    "name": "MainWP Child",
    "slug": "mainwp-child/mainwp-child.php",
    "description": "Provides a secure connection between your MainWP Dashboard and your WordPress sites. MainWP allows you to manage WP sites from one central location. Plugin documentation and options can be found here https://mainwp.com/help/.",
    "version": "4.1.2",
    "active": 1
  },
  {
    "mainwp": "F",
    "name": "MainWP Child Reports",
    "slug": "mainwp-child-reports/mainwp-child-reports.php",
    "description": "The MainWP Child Report plugin tracks Child sites for the MainWP Client Reports Extension. The plugin is only useful if you are using MainWP and the Client Reports Extension.",
    "version": "2.0.6",
    "active": 1
  },
  {
    "mainwp": "F",
    "name": "Wordfence Security",
    "slug": "wordfence/wordfence.php",
    "description": "Wordfence Security - Anti-virus, Firewall and Malware Scan",
    "version": "7.4.12",
    "active": 1
  }
] 

Site Installed Plugins Count

Get the number of installed plugins on a Child Site.

URI:

/site-installed-plugins-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-installed-plugins-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "count": 7
} 

Site Active Plugins

Get the list of active plugins on a Child Site.

URI:

/site-active-plugins

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-active-plugins?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

[
  {
    "mainwp": "F",
    "name": "Debug",
    "slug": "debug/debug.php",
    "description": "Debug your blog, wordpress site and multisite with <a href=\"http://www.soninow.com/\" target=\"_blank\">Soninow</a>. Debug is a development/production tool, that's help you to remove bugs from your wordpress website.",
    "version": "1.9",
    "active": 1
  },
  {
    "mainwp": "F",
    "name": "Maintenance",
    "slug": "maintenance/maintenance.php",
    "description": "Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.",
    "version": "3.97",
    "active": 1
  },
  {
    "mainwp": "T",
    "name": "MainWP Child",
    "slug": "mainwp-child/mainwp-child.php",
    "description": "Provides a secure connection between your MainWP Dashboard and your WordPress sites. MainWP allows you to manage WP sites from one central location. Plugin documentation and options can be found here https://mainwp.com/help/.",
    "version": "4.1.2",
    "active": 1
  },
  {
    "mainwp": "F",
    "name": "MainWP Child Reports",
    "slug": "mainwp-child-reports/mainwp-child-reports.php",
    "description": "The MainWP Child Report plugin tracks Child sites for the MainWP Client Reports Extension. The plugin is only useful if you are using MainWP and the Client Reports Extension.",
    "version": "2.0.6",
    "active": 1
  },
  {
    "mainwp": "F",
    "name": "Wordfence Security",
    "slug": "wordfence/wordfence.php",
    "description": "Wordfence Security - Anti-virus, Firewall and Malware Scan",
    "version": "7.4.12",
    "active": 1
  }
] 

Site Active Plugins Count

Get the number of active plugins on a Child Site.

URI:

/site-active-plugins-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-active-plugins-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "count": 5
} 

Site Inactive Plugins

Get the list of inactive plugins on a Child Site.

URI:

/site-inactive-plugins

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-inactive-plugins?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

[
  {
    "mainwp": "F",
    "name": "Akismet Anti-Spam",
    "slug": "akismet/akismet.php",
    "description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
    "version": "4.1.1",
    "active": 0
  },
  {
    "mainwp": "F",
    "name": "Classic Editor",
    "slug": "classic-editor/classic-editor.php",
    "description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
    "version": "1.3",
    "active": 0
  }
] 

Site Inactive Plugins Count

Get the number of inactive plugins on a Child Site.

URI:

/site-inactive-plugins-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-inactive-plugins-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Response Example:

{
  "count": 2
} 

Site Installed Themes

Get the list of installed themes on a Child Site.

URI:

/site-installed-themes

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-installed-themes?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

[
  {
    "name": "Twenty Nineteen",
    "title": "Twenty Nineteen",
    "description": "Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you&#8217;ll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it&#8217;s built to be beautiful on all screen sizes.",
    "version": "1.5",
    "active": 0,
    "slug": "twentynineteen"
  },
  {
    "name": "Twenty Seventeen",
    "title": "Twenty Seventeen",
    "description": "Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.",
    "version": "2.3",
    "active": 0,
    "slug": "twentyseventeen"
  },
  {
    "name": "Twenty Twenty",
    "title": "Twenty Twenty",
    "description": "Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.",
    "version": "1.2",
    "active": 1,
    "slug": "twentytwenty"
  }
] 

Site Installed Themes Count

Get the number of installed themes on a Child Site.

URI:

/site-installed-themes-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-installed-themes-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "count": 3
} 

Site Active Themes

Get the list of active themes on a Child Site.

URI:

/site-active-themes

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-active-themes?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

[
  {
    "name": "Twenty Twenty",
    "title": "Twenty Twenty",
    "description": "Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.",
    "version": "1.2",
    "active": 1,
    "slug": "twentytwenty"
  }
] 

Site Inactive Themes

Get the list of inactive themes on a Child Site.

URI:

/site-inactive-themes

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-inactive-themes?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

[
  {
    "name": "Twenty Nineteen",
    "title": "Twenty Nineteen",
    "description": "Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you&#8217;ll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it&#8217;s built to be beautiful on all screen sizes.",
    "version": "1.5",
    "active": 0,
    "slug": "twentynineteen"
  },
  {
    "name": "Twenty Seventeen",
    "title": "Twenty Seventeen",
    "description": "Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.",
    "version": "2.3",
    "active": 0,
    "slug": "twentyseventeen"
  }
] 

Site Inactive Themes Count

Get the number of inactive themes on a Child Site.

URI:

/site-inactive-themes-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-inactive-themes-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "count": 2
} 

Site Available Updates

Get the list of available updates on a Child Site.

URI:

/site-available-updates

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-available-updates?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "wp_core": {
    "current": "5.4.3",
    "new": "5.5.2"
  },
  "plugins": {
    "akismet/akismet.php": {
      "Name": "Akismet Anti-Spam",
      "PluginURI": "https://akismet.com/",
      "Version": "4.1.1",
      "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
      "Author": "Automattic",
      "AuthorURI": "https://automattic.com/wordpress-plugins/",
      "TextDomain": "akismet",
      "DomainPath": "",
      "Network": false,
      "RequiresWP": "",
      "RequiresPHP": "",
      "Title": "Akismet Anti-Spam",
      "AuthorName": "Automattic",
      "update": {
        "id": "w.org/plugins/akismet",
        "slug": "akismet",
        "plugin": "akismet/akismet.php",
        "new_version": "4.1.7",
        "url": "https://wordpress.org/plugins/akismet/",
        "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
        "icons": {
          "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
          "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
        },
        "banners": {
          "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
        },
        "banners_rtl": [],
        "tested": "5.5.2",
        "requires_php": false,
        "compatibility": []
      },
      "active": 0
    },
    "classic-editor/classic-editor.php": {
      "Name": "Classic Editor",
      "PluginURI": "https://wordpress.org/plugins/classic-editor/",
      "Version": "1.3",
      "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
      "Author": "WordPress Contributors",
      "AuthorURI": "https://github.com/WordPress/classic-editor/",
      "TextDomain": "classic-editor",
      "DomainPath": "/languages",
      "Network": true,
      "RequiresWP": "",
      "RequiresPHP": "",
      "Title": "Classic Editor",
      "AuthorName": "WordPress Contributors",
      "update": {
        "id": "w.org/plugins/classic-editor",
        "slug": "classic-editor",
        "plugin": "classic-editor/classic-editor.php",
        "new_version": "1.6",
        "url": "https://wordpress.org/plugins/classic-editor/",
        "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
        "icons": {
          "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
          "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
        },
        "banners": {
          "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
          "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
        },
        "banners_rtl": [],
        "tested": "5.5.2",
        "requires_php": "5.2.4",
        "compatibility": []
      },
      "active": 0
    },
    "contact-form-7/wp-contact-form-7.php": {
      "Name": "Contact Form 7",
      "PluginURI": "https://contactform7.com/",
      "Version": "5.1.4",
      "Description": "Just another contact form plugin. Simple but flexible.",
      "Author": "Takayuki Miyoshi",
      "AuthorURI": "https://ideasilo.wordpress.com/",
      "TextDomain": "contact-form-7",
      "DomainPath": "/languages/",
      "Network": false,
      "RequiresWP": "",
      "RequiresPHP": "",
      "Title": "Contact Form 7",
      "AuthorName": "Takayuki Miyoshi",
      "update": {
        "id": "w.org/plugins/contact-form-7",
        "slug": "contact-form-7",
        "plugin": "contact-form-7/wp-contact-form-7.php",
        "new_version": "5.3",
        "url": "https://wordpress.org/plugins/contact-form-7/",
        "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
        "icons": {
          "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
          "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
          "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
        },
        "banners": {
          "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
          "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
        },
        "banners_rtl": [],
        "tested": "5.5.2",
        "requires_php": false,
        "compatibility": []
      },
      "active": 0
    }
  },
  "themes": {
    "twentynineteen": {
      "update": {
        "theme": "twentynineteen",
        "new_version": "1.7",
        "url": "https://wordpress.org/themes/twentynineteen/",
        "package": "https://downloads.wordpress.org/theme/twentynineteen.1.7.zip",
        "requires": "4.9.6",
        "requires_php": "5.2.4"
      },
      "Name": "Twenty Nineteen",
      "Version": "1.5",
      "active": 0
    },
    "twentyseventeen": {
      "update": {
        "theme": "twentyseventeen",
        "new_version": "2.4",
        "url": "https://wordpress.org/themes/twentyseventeen/",
        "package": "https://downloads.wordpress.org/theme/twentyseventeen.2.4.zip",
        "requires": "4.7",
        "requires_php": "5.2.4"
      },
      "Name": "Twenty Seventeen",
      "Version": "2.3",
      "active": 0
    },
    "twentytwenty": {
      "update": {
        "theme": "twentytwenty",
        "new_version": "1.5",
        "url": "https://wordpress.org/themes/twentytwenty/",
        "package": "https://downloads.wordpress.org/theme/twentytwenty.1.5.zip",
        "requires": "4.7",
        "requires_php": "5.2.4"
      },
      "Name": "Twenty Twenty",
      "Version": "1.2",
      "active": 1
    }
  },
  "translation": []
} 

Site Available Updates Count

Get the number of available updates on a Child Site.

URI:

/site-available-updates-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-available-updates-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "total": 7,
  "wp": 1,
  "plugins": 3,
  "themes": 3,
  "translations": 0
} 

Site Abandoned Plugins

Get the list of abandoned plugins on a Child Site.

URI:

/site-abandoned-plugins

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-abandoned-plugins?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "akismet/akismet.php": {
    "Name": "Akismet Anti-Spam",
    "PluginURI": "https://akismet.com/",
    "Version": "4.1.5",
    "last_updated": 1603394160
  },
  "shortcode-ui/shortcode-ui.php": {
    "Name": "Shortcake (Shortcode UI)",
    "PluginURI": "",
    "Version": "0.7.4",
    "last_updated": 1547679360
  },
  "wordfence/wordfence.php": {
    "Name": "Wordfence Security",
    "PluginURI": "http://www.wordfence.com/",
    "Version": "7.4.12",
    "last_updated": 1603294380
  }
} 

Site Abandoned Plugins Count

Get the number of abandoned plugins on a Child Site.

URI:

/site-abandoned-plugins-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-abandoned-plugins-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "count": 3
} 

Site Abandoned Themes

Get the list of abandoned themes on a Child Site.

URI:

/site-abandoned-themes

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-abandoned-themes?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "twentynineteen": {
    "Name": "Twenty Nineteen",
    "Version": "1.5",
    "last_updated": 1597104000
  },
  "twentyseventeen": {
    "Name": "Twenty Seventeen",
    "Version": "2.3",
    "last_updated": 1597104000
  },
  "twentytwenty": {
    "Name": "Twenty Twenty",
    "Version": "1.2",
    "last_updated": 1597104000
  }
} 

Site Abandoned Themes Count

Get the number of abandoned themes on a Child Site.

URI:

/site-abandoned-themes-count

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-abandoned-themes-count?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "count": 3
} 

Site HTTP Status

Get the HTTP Status of a Child Site.

URI:

/site-http-status

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-http-status?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

"200" 

Site Health Score

Get the Health Score of a Child Site.

URI:

/site-health-score

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-health-score?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

"Should be improved" 

Get a Child Site security issues list.

URI:

/site-security-issues

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

Site Security Issues

Get a Child Site security issues list.

URI:

/site-security-issues

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-security-issues?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "listing": "N",
  "wp_version": "N",
  "rsd": "N",
  "wlw": "N",
  "db_reporting": "Y",
  "php_reporting": "Y",
  "versions": "N",
  "registered_versions": "N",
  "admin": "Y",
  "readme": "N"
} 

Add Site

Add new site to MainWP Dashboard.

URI:

/add-site

Method:

POST

Required Parameters:

  • @TODO


Example Request:

@TODO 

Edit Site

Update connected site details.

URI:

/edit-site

Method:

PUT

Required Parameters:

  • site_id – (INT) ID of the child site
  • @TODO

 

Example Request:

@TODO 

Sync Site

Sync specific child site.

URI:

/sync-site

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site to sync

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/sync-site?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Reconnect Site

Reconnect specific child site.

URI:

/reconnect-site

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site to reconnect

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/reconnect-site?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Disconnect Site

Disconnect specific child site.

URI:

/disconnect-site

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site to disconnect

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/disconnect-site?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Remove Site

Remove specific child site from MainWP Dashboard.

URI:

/remove-site

Method:

DELETE

Required Parameters:

  • site_id – (INT) ID of the child site to remove

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/remove-site?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Update WordPress

Update WP Core on a Child Site.

URI:

/site-update-wordpress

Method:

PUT

Required Parameters:

  • site_id – (INT) ID of the child site to update

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-update-wordpress?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Update Plugins

Update Plugins on a Child Site.

URI:

/site-update-plugins

Method:

PUT

Required Parameters:

  • site_id – (INT) ID of the child site to update

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-update-plugins?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Update Themes

Update Themes on a Child Site.

URI:

/site-update-themes

Method:

PUT

Required Parameters:

  • site_id – (INT) ID of the child site to update

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-update-themes?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Update Translations

Update Translations on a Child Site.

URI:

/site-update-translations

Method:

PUT

Required Parameters:

  • site_id – (INT) ID of the child site to update

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-update-translations?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Update Item

Update a single item (plugin, theme or translation) on a Child Site.

URI:

/site-update-item

Method:

PUT

Required Parameters:

  • site_id – (INT) ID of the child site to update
  • type – (STRING) ‘plugin’, ‘theme’ or ‘translation’
  • slug – (STRING) slug of the item that needs to be updated

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-update-item?site_id=25&type=plugin&slug=akismet/akismet.php&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Manage Plugin

Manage (activate, deactivate or delete) a plugin on a Child Site.

URI:

/site-manage-plugin

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site
  • plugin – (STRING) slug of a plugin to manage
  • action – (STRING) ‘activate’, ‘deactivate’ or ‘delete’

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-manage-plugin?site_id=25&plugin=akismet/akismet.php&action=deactivate&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Site Manage Theme

Manage (activate, deactivate or delete) a theme on a Child Site.

URI:

/site-manage-theme

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site
  • theme – (STRING) slug of a theme to manage
  • action – (STRING) ‘activate’, ‘deactivate’ or ‘delete’

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/site-manage-theme?site_id=25&theme=twentytwenty&action=activate&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Check Site HTTP Status

Check HTTP Status of a Child Site.

URI:

/check-site-http-status

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site to cehck

 

Example Request:

https://example.com/wp-json/mainwp/v1/site/check-site-http-status?site_id=25&consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Updates

This section lists all API endpoints that can be used to manipulate updates.

Available Updates

Get all available updates.

URI:

/available-updates

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/available-updates?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "91": {
    "wp_core": [],
    "plugins": {
      "akismet/akismet.php": {
        "Name": "Akismet Anti-Spam",
        "PluginURI": "https://akismet.com/",
        "Version": "4.1.1",
        "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
        "Author": "Automattic",
        "AuthorURI": "https://automattic.com/wordpress-plugins/",
        "TextDomain": "akismet",
        "DomainPath": "",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Akismet Anti-Spam",
        "AuthorName": "Automattic",
        "update": {
          "id": "w.org/plugins/akismet",
          "slug": "akismet",
          "plugin": "akismet/akismet.php",
          "new_version": "4.1.7",
          "url": "https://wordpress.org/plugins/akismet/",
          "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
          "icons": {
            "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
            "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
          },
          "banners": {
            "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      },
      "classic-editor/classic-editor.php": {
        "Name": "Classic Editor",
        "PluginURI": "https://wordpress.org/plugins/classic-editor/",
        "Version": "1.3",
        "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
        "Author": "WordPress Contributors",
        "AuthorURI": "https://github.com/WordPress/classic-editor/",
        "TextDomain": "classic-editor",
        "DomainPath": "/languages",
        "Network": true,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Classic Editor",
        "AuthorName": "WordPress Contributors",
        "update": {
          "id": "w.org/plugins/classic-editor",
          "slug": "classic-editor",
          "plugin": "classic-editor/classic-editor.php",
          "new_version": "1.6",
          "url": "https://wordpress.org/plugins/classic-editor/",
          "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
          "icons": {
            "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
          },
          "banners": {
            "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": "5.2.4",
          "compatibility": []
        },
        "active": 0
      },
      "contact-form-7/wp-contact-form-7.php": {
        "Name": "Contact Form 7",
        "PluginURI": "https://contactform7.com/",
        "Version": "5.1.4",
        "Description": "Just another contact form plugin. Simple but flexible.",
        "Author": "Takayuki Miyoshi",
        "AuthorURI": "https://ideasilo.wordpress.com/",
        "TextDomain": "contact-form-7",
        "DomainPath": "/languages/",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Contact Form 7",
        "AuthorName": "Takayuki Miyoshi",
        "update": {
          "id": "w.org/plugins/contact-form-7",
          "slug": "contact-form-7",
          "plugin": "contact-form-7/wp-contact-form-7.php",
          "new_version": "5.3",
          "url": "https://wordpress.org/plugins/contact-form-7/",
          "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
          "icons": {
            "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
            "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
            "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
          },
          "banners": {
            "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
            "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      }
    },
    "themes": [],
    "translation": []
  },
  "93": {
    "wp_core": [],
    "plugins": {
      "akismet/akismet.php": {
        "Name": "Akismet Anti-Spam",
        "PluginURI": "https://akismet.com/",
        "Version": "4.1.1",
        "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
        "Author": "Automattic",
        "AuthorURI": "https://automattic.com/wordpress-plugins/",
        "TextDomain": "akismet",
        "DomainPath": "",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Akismet Anti-Spam",
        "AuthorName": "Automattic",
        "update": {
          "id": "w.org/plugins/akismet",
          "slug": "akismet",
          "plugin": "akismet/akismet.php",
          "new_version": "4.1.7",
          "url": "https://wordpress.org/plugins/akismet/",
          "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
          "icons": {
            "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
            "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
          },
          "banners": {
            "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      },
      "classic-editor/classic-editor.php": {
        "Name": "Classic Editor",
        "PluginURI": "https://wordpress.org/plugins/classic-editor/",
        "Version": "1.3",
        "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
        "Author": "WordPress Contributors",
        "AuthorURI": "https://github.com/WordPress/classic-editor/",
        "TextDomain": "classic-editor",
        "DomainPath": "/languages",
        "Network": true,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Classic Editor",
        "AuthorName": "WordPress Contributors",
        "update": {
          "id": "w.org/plugins/classic-editor",
          "slug": "classic-editor",
          "plugin": "classic-editor/classic-editor.php",
          "new_version": "1.6",
          "url": "https://wordpress.org/plugins/classic-editor/",
          "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
          "icons": {
            "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
          },
          "banners": {
            "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": "5.2.4",
          "compatibility": []
        },
        "active": 0
      },
      "contact-form-7/wp-contact-form-7.php": {
        "Name": "Contact Form 7",
        "PluginURI": "https://contactform7.com/",
        "Version": "5.1.4",
        "Description": "Just another contact form plugin. Simple but flexible.",
        "Author": "Takayuki Miyoshi",
        "AuthorURI": "https://ideasilo.wordpress.com/",
        "TextDomain": "contact-form-7",
        "DomainPath": "/languages/",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Contact Form 7",
        "AuthorName": "Takayuki Miyoshi",
        "update": {
          "id": "w.org/plugins/contact-form-7",
          "slug": "contact-form-7",
          "plugin": "contact-form-7/wp-contact-form-7.php",
          "new_version": "5.3",
          "url": "https://wordpress.org/plugins/contact-form-7/",
          "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
          "icons": {
            "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
            "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
            "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
          },
          "banners": {
            "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
            "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      }
    },
    "themes": [],
    "translation": []
  },
  "94": {
    "wp_core": {
      "current": "5.4.3",
      "new": "5.5.2"
    },
    "plugins": {
      "akismet/akismet.php": {
        "Name": "Akismet Anti-Spam",
        "PluginURI": "https://akismet.com/",
        "Version": "4.1.1",
        "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
        "Author": "Automattic",
        "AuthorURI": "https://automattic.com/wordpress-plugins/",
        "TextDomain": "akismet",
        "DomainPath": "",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Akismet Anti-Spam",
        "AuthorName": "Automattic",
        "update": {
          "id": "w.org/plugins/akismet",
          "slug": "akismet",
          "plugin": "akismet/akismet.php",
          "new_version": "4.1.7",
          "url": "https://wordpress.org/plugins/akismet/",
          "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
          "icons": {
            "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
            "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
          },
          "banners": {
            "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      },
      "classic-editor/classic-editor.php": {
        "Name": "Classic Editor",
        "PluginURI": "https://wordpress.org/plugins/classic-editor/",
        "Version": "1.3",
        "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
        "Author": "WordPress Contributors",
        "AuthorURI": "https://github.com/WordPress/classic-editor/",
        "TextDomain": "classic-editor",
        "DomainPath": "/languages",
        "Network": true,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Classic Editor",
        "AuthorName": "WordPress Contributors",
        "update": {
          "id": "w.org/plugins/classic-editor",
          "slug": "classic-editor",
          "plugin": "classic-editor/classic-editor.php",
          "new_version": "1.6",
          "url": "https://wordpress.org/plugins/classic-editor/",
          "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
          "icons": {
            "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
          },
          "banners": {
            "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": "5.2.4",
          "compatibility": []
        },
        "active": 0
      },
      "contact-form-7/wp-contact-form-7.php": {
        "Name": "Contact Form 7",
        "PluginURI": "https://contactform7.com/",
        "Version": "5.1.4",
        "Description": "Just another contact form plugin. Simple but flexible.",
        "Author": "Takayuki Miyoshi",
        "AuthorURI": "https://ideasilo.wordpress.com/",
        "TextDomain": "contact-form-7",
        "DomainPath": "/languages/",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Contact Form 7",
        "AuthorName": "Takayuki Miyoshi",
        "update": {
          "id": "w.org/plugins/contact-form-7",
          "slug": "contact-form-7",
          "plugin": "contact-form-7/wp-contact-form-7.php",
          "new_version": "5.3",
          "url": "https://wordpress.org/plugins/contact-form-7/",
          "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
          "icons": {
            "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
            "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
            "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
          },
          "banners": {
            "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
            "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      }
    },
    "themes": {
      "twentynineteen": {
        "update": {
          "theme": "twentynineteen",
          "new_version": "1.7",
          "url": "https://wordpress.org/themes/twentynineteen/",
          "package": "https://downloads.wordpress.org/theme/twentynineteen.1.7.zip",
          "requires": "4.9.6",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Nineteen",
        "Version": "1.5",
        "active": 0
      },
      "twentyseventeen": {
        "update": {
          "theme": "twentyseventeen",
          "new_version": "2.4",
          "url": "https://wordpress.org/themes/twentyseventeen/",
          "package": "https://downloads.wordpress.org/theme/twentyseventeen.2.4.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Seventeen",
        "Version": "2.3",
        "active": 0
      },
      "twentytwenty": {
        "update": {
          "theme": "twentytwenty",
          "new_version": "1.5",
          "url": "https://wordpress.org/themes/twentytwenty/",
          "package": "https://downloads.wordpress.org/theme/twentytwenty.1.5.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Twenty",
        "Version": "1.2",
        "active": 1
      }
    },
    "translation": []
  },
  "95": {
    "wp_core": {
      "current": "5.4.3",
      "new": "5.5.2"
    },
    "plugins": {
      "akismet/akismet.php": {
        "Name": "Akismet Anti-Spam",
        "PluginURI": "https://akismet.com/",
        "Version": "4.1.1",
        "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
        "Author": "Automattic",
        "AuthorURI": "https://automattic.com/wordpress-plugins/",
        "TextDomain": "akismet",
        "DomainPath": "",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Akismet Anti-Spam",
        "AuthorName": "Automattic",
        "update": {
          "id": "w.org/plugins/akismet",
          "slug": "akismet",
          "plugin": "akismet/akismet.php",
          "new_version": "4.1.7",
          "url": "https://wordpress.org/plugins/akismet/",
          "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
          "icons": {
            "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
            "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
          },
          "banners": {
            "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      },
      "classic-editor/classic-editor.php": {
        "Name": "Classic Editor",
        "PluginURI": "https://wordpress.org/plugins/classic-editor/",
        "Version": "1.3",
        "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
        "Author": "WordPress Contributors",
        "AuthorURI": "https://github.com/WordPress/classic-editor/",
        "TextDomain": "classic-editor",
        "DomainPath": "/languages",
        "Network": true,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Classic Editor",
        "AuthorName": "WordPress Contributors",
        "update": {
          "id": "w.org/plugins/classic-editor",
          "slug": "classic-editor",
          "plugin": "classic-editor/classic-editor.php",
          "new_version": "1.6",
          "url": "https://wordpress.org/plugins/classic-editor/",
          "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
          "icons": {
            "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
          },
          "banners": {
            "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": "5.2.4",
          "compatibility": []
        },
        "active": 0
      },
      "contact-form-7/wp-contact-form-7.php": {
        "Name": "Contact Form 7",
        "PluginURI": "https://contactform7.com/",
        "Version": "5.1.4",
        "Description": "Just another contact form plugin. Simple but flexible.",
        "Author": "Takayuki Miyoshi",
        "AuthorURI": "https://ideasilo.wordpress.com/",
        "TextDomain": "contact-form-7",
        "DomainPath": "/languages/",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Contact Form 7",
        "AuthorName": "Takayuki Miyoshi",
        "update": {
          "id": "w.org/plugins/contact-form-7",
          "slug": "contact-form-7",
          "plugin": "contact-form-7/wp-contact-form-7.php",
          "new_version": "5.3",
          "url": "https://wordpress.org/plugins/contact-form-7/",
          "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
          "icons": {
            "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
            "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
            "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
          },
          "banners": {
            "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
            "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      }
    },
    "themes": {
      "twentynineteen": {
        "update": {
          "theme": "twentynineteen",
          "new_version": "1.7",
          "url": "https://wordpress.org/themes/twentynineteen/",
          "package": "https://downloads.wordpress.org/theme/twentynineteen.1.7.zip",
          "requires": "4.9.6",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Nineteen",
        "Version": "1.5",
        "active": 0
      },
      "twentyseventeen": {
        "update": {
          "theme": "twentyseventeen",
          "new_version": "2.4",
          "url": "https://wordpress.org/themes/twentyseventeen/",
          "package": "https://downloads.wordpress.org/theme/twentyseventeen.2.4.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Seventeen",
        "Version": "2.3",
        "active": 0
      },
      "twentytwenty": {
        "update": {
          "theme": "twentytwenty",
          "new_version": "1.5",
          "url": "https://wordpress.org/themes/twentytwenty/",
          "package": "https://downloads.wordpress.org/theme/twentytwenty.1.5.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Twenty",
        "Version": "1.2",
        "active": 1
      }
    },
    "translation": []
  },
  "96": {
    "wp_core": {
      "current": "5.4.3",
      "new": "5.5.2"
    },
    "plugins": {
      "akismet/akismet.php": {
        "Name": "Akismet Anti-Spam",
        "PluginURI": "https://akismet.com/",
        "Version": "4.1.1",
        "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
        "Author": "Automattic",
        "AuthorURI": "https://automattic.com/wordpress-plugins/",
        "TextDomain": "akismet",
        "DomainPath": "",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Akismet Anti-Spam",
        "AuthorName": "Automattic",
        "update": {
          "id": "w.org/plugins/akismet",
          "slug": "akismet",
          "plugin": "akismet/akismet.php",
          "new_version": "4.1.7",
          "url": "https://wordpress.org/plugins/akismet/",
          "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
          "icons": {
            "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
            "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
          },
          "banners": {
            "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      },
      "classic-editor/classic-editor.php": {
        "Name": "Classic Editor",
        "PluginURI": "https://wordpress.org/plugins/classic-editor/",
        "Version": "1.3",
        "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
        "Author": "WordPress Contributors",
        "AuthorURI": "https://github.com/WordPress/classic-editor/",
        "TextDomain": "classic-editor",
        "DomainPath": "/languages",
        "Network": true,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Classic Editor",
        "AuthorName": "WordPress Contributors",
        "update": {
          "id": "w.org/plugins/classic-editor",
          "slug": "classic-editor",
          "plugin": "classic-editor/classic-editor.php",
          "new_version": "1.6",
          "url": "https://wordpress.org/plugins/classic-editor/",
          "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
          "icons": {
            "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
          },
          "banners": {
            "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": "5.2.4",
          "compatibility": []
        },
        "active": 0
      },
      "contact-form-7/wp-contact-form-7.php": {
        "Name": "Contact Form 7",
        "PluginURI": "https://contactform7.com/",
        "Version": "5.1.4",
        "Description": "Just another contact form plugin. Simple but flexible.",
        "Author": "Takayuki Miyoshi",
        "AuthorURI": "https://ideasilo.wordpress.com/",
        "TextDomain": "contact-form-7",
        "DomainPath": "/languages/",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Contact Form 7",
        "AuthorName": "Takayuki Miyoshi",
        "update": {
          "id": "w.org/plugins/contact-form-7",
          "slug": "contact-form-7",
          "plugin": "contact-form-7/wp-contact-form-7.php",
          "new_version": "5.3",
          "url": "https://wordpress.org/plugins/contact-form-7/",
          "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
          "icons": {
            "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
            "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
            "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
          },
          "banners": {
            "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
            "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      }
    },
    "themes": {
      "twentynineteen": {
        "update": {
          "theme": "twentynineteen",
          "new_version": "1.7",
          "url": "https://wordpress.org/themes/twentynineteen/",
          "package": "https://downloads.wordpress.org/theme/twentynineteen.1.7.zip",
          "requires": "4.9.6",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Nineteen",
        "Version": "1.5",
        "active": 0
      },
      "twentyseventeen": {
        "update": {
          "theme": "twentyseventeen",
          "new_version": "2.4",
          "url": "https://wordpress.org/themes/twentyseventeen/",
          "package": "https://downloads.wordpress.org/theme/twentyseventeen.2.4.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Seventeen",
        "Version": "2.3",
        "active": 0
      },
      "twentytwenty": {
        "update": {
          "theme": "twentytwenty",
          "new_version": "1.5",
          "url": "https://wordpress.org/themes/twentytwenty/",
          "package": "https://downloads.wordpress.org/theme/twentytwenty.1.5.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Twenty",
        "Version": "1.2",
        "active": 1
      }
    },
    "translation": []
  },
  "97": {
    "wp_core": {
      "current": "5.4.3",
      "new": "5.5.2"
    },
    "plugins": {
      "akismet/akismet.php": {
        "Name": "Akismet Anti-Spam",
        "PluginURI": "https://akismet.com/",
        "Version": "4.1.1",
        "Description": "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.",
        "Author": "Automattic",
        "AuthorURI": "https://automattic.com/wordpress-plugins/",
        "TextDomain": "akismet",
        "DomainPath": "",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Akismet Anti-Spam",
        "AuthorName": "Automattic",
        "update": {
          "id": "w.org/plugins/akismet",
          "slug": "akismet",
          "plugin": "akismet/akismet.php",
          "new_version": "4.1.7",
          "url": "https://wordpress.org/plugins/akismet/",
          "package": "https://downloads.wordpress.org/plugin/akismet.4.1.7.zip",
          "icons": {
            "2x": "https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272",
            "1x": "https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272"
          },
          "banners": {
            "1x": "https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      },
      "classic-editor/classic-editor.php": {
        "Name": "Classic Editor",
        "PluginURI": "https://wordpress.org/plugins/classic-editor/",
        "Version": "1.3",
        "Description": "Enables the WordPress classic editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports the older plugins that extend this screen.",
        "Author": "WordPress Contributors",
        "AuthorURI": "https://github.com/WordPress/classic-editor/",
        "TextDomain": "classic-editor",
        "DomainPath": "/languages",
        "Network": true,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Classic Editor",
        "AuthorName": "WordPress Contributors",
        "update": {
          "id": "w.org/plugins/classic-editor",
          "slug": "classic-editor",
          "plugin": "classic-editor/classic-editor.php",
          "new_version": "1.6",
          "url": "https://wordpress.org/plugins/classic-editor/",
          "package": "https://downloads.wordpress.org/plugin/classic-editor.1.6.zip",
          "icons": {
            "2x": "https://ps.w.org/classic-editor/assets/icon-256x256.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/icon-128x128.png?rev=1998671"
          },
          "banners": {
            "2x": "https://ps.w.org/classic-editor/assets/banner-1544x500.png?rev=1998671",
            "1x": "https://ps.w.org/classic-editor/assets/banner-772x250.png?rev=1998676"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": "5.2.4",
          "compatibility": []
        },
        "active": 0
      },
      "contact-form-7/wp-contact-form-7.php": {
        "Name": "Contact Form 7",
        "PluginURI": "https://contactform7.com/",
        "Version": "5.1.4",
        "Description": "Just another contact form plugin. Simple but flexible.",
        "Author": "Takayuki Miyoshi",
        "AuthorURI": "https://ideasilo.wordpress.com/",
        "TextDomain": "contact-form-7",
        "DomainPath": "/languages/",
        "Network": false,
        "RequiresWP": "",
        "RequiresPHP": "",
        "Title": "Contact Form 7",
        "AuthorName": "Takayuki Miyoshi",
        "update": {
          "id": "w.org/plugins/contact-form-7",
          "slug": "contact-form-7",
          "plugin": "contact-form-7/wp-contact-form-7.php",
          "new_version": "5.3",
          "url": "https://wordpress.org/plugins/contact-form-7/",
          "package": "https://downloads.wordpress.org/plugin/contact-form-7.5.3.zip",
          "icons": {
            "2x": "https://ps.w.org/contact-form-7/assets/icon-256x256.png?rev=2279696",
            "1x": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255",
            "svg": "https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255"
          },
          "banners": {
            "2x": "https://ps.w.org/contact-form-7/assets/banner-1544x500.png?rev=860901",
            "1x": "https://ps.w.org/contact-form-7/assets/banner-772x250.png?rev=880427"
          },
          "banners_rtl": [],
          "tested": "5.5.2",
          "requires_php": false,
          "compatibility": []
        },
        "active": 0
      }
    },
    "themes": {
      "twentynineteen": {
        "update": {
          "theme": "twentynineteen",
          "new_version": "1.7",
          "url": "https://wordpress.org/themes/twentynineteen/",
          "package": "https://downloads.wordpress.org/theme/twentynineteen.1.7.zip",
          "requires": "4.9.6",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Nineteen",
        "Version": "1.5",
        "active": 0
      },
      "twentyseventeen": {
        "update": {
          "theme": "twentyseventeen",
          "new_version": "2.4",
          "url": "https://wordpress.org/themes/twentyseventeen/",
          "package": "https://downloads.wordpress.org/theme/twentyseventeen.2.4.zip",
          "requires": "4.7",
          "requires_php": "5.2.4"
        },
        "Name": "Twenty Seventeen",
        "Version": "2.3",
        "active": 1
      }
    },
    "translation": []
  }
} 

Ignored Plugins Updates

Get the list of Globally ignored plugins updates

URI:

/ignored-plugins-updates

Method:

GET

Required Parameters:

  • No required parameters

Example Request:

https://example.com/wp-json/mainwp/v1/updates/ignored-plugins-updates?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "akismet/akismet.php": "Akismet Anti-Spam",
  "classic-editor/classic-editor.php": "Classic Editor",
  "contact-form-7/wp-contact-form-7.php": "Contact Form 7"
} 

Site Ignored Plugins Updates

Get the list of per site ignored plugins updates

URI:

/site-ignored-plugins-updates

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site.

Example Request:

https://example.com/wp-json/mainwp/v1/updates/site-ignored-plugins-updates?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "akismet/akismet.php": "Akismet Anti-Spam",
  "classic-editor/classic-editor.php": "Classic Editor",
  "contact-form-7/wp-contact-form-7.php": "Contact Form 7"
} 

Ignored Themes Updates

Get the list of Globally ignored themes updates

URI:

/ignored-themes-updates

Method:

GET

Required Parameters:

  • No required parameters

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/ignored-themes-updates?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "twentynineteen": "TwentyNineteen",
  "twentyseventeen": "TwentySeventeen",
  "twentytwenty": "TwentyTwenty"
} 

Site Ignored Themes Updates

Get the list of per site ignored themes updates

URI:

/site-ignored-themes-updates

Method:

GET

Required Parameters:

  • site_id – (INT) ID of the child site.

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/ignored-themes-updates?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Example Response:

{
  "twentynineteen": "TwentyNineteen",
  "twentyseventeen": "TwentySeventeen",
  "twentytwenty": "TwentyTwenty"
} 

Ignore Updates

Ignore Plugins and/or Themes updates.

URI:

/ignore-updates

Method:

POST

Required Parameters:

  • type – (STRING) ‘plugin’ or ‘theme’.
  • slug – (STRING) plugin or theme slug.
  • name – (STRING) plugin or theme name.

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/ignore-updates?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Ignore Update

Ignore Plugin and/or Theme updates.

URI:

/ignore-update

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site.
  • type – (STRING) ‘plugin’ or ‘theme’.
  • slug – (STRING) plugin or theme slug.
  • name – (STRING) plugin or theme name.

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/ignore-update?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Unignore Update

Unignore Plugin and/or Theme updates.

URI:

/unignore-update

Method:

POST

Required Parameters:

  • type – (STRING) ‘plugin’ or ‘theme’.
  • slug – (STRING) plugin or theme slug.

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/unignore-update?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Unignore Update

Unignore Plugin and/or Theme updates.

URI:

/unignore-update

Method:

POST

Required Parameters:

  • site_id – (INT) ID of the child site.
  • type – (STRING) ‘plugin’ or ‘theme’.
  • slug – (STRING) plugin or theme slug.

 

Example Request:

https://example.com/wp-json/mainwp/v1/updates/unignore-update?consumer_key=ck_b587c54fa39976a2ad47b8faf260de84beb70f5d&consumer_secret=cs_75f7a905fa7ae1243570425ede6be026f4731f9c 

Responses

Response bodies from the MainWP API are in JSON format, with a Content-Type: of application/json and UTF-8 character encoding.

Success Response

Successful requests will return a the following HTTP status codes:

  • 200 (OK)– A successful response will return a 200 status code.

Error Responses

The following status codes represent failure states:
  • 400 (Bad Request)– Indicates that the format of the request is invalid. This may be caused by missing or malformed required parameters.
  • 401 (Unauthorized)– Indicates that the requester does not have permission to access the requested resource. This could be caused by invalid or malformed authentication parameters.
  • 500 (Server Error)– This response indicates a failure in the API’s application server.