Summarize site items
Returns totals of the items installed on your websites, per type (plugins, themes and WordPress versions) and for the websites themselves. Use it for an overview, for example how many plugins can be updated and how many have a known vulnerability, without listing every item.
The totals cover connected websites only and accept the same filters as “List site items”, so items whose update notice is hidden are left out unless you send filter[is_hidden]. An item counts as updatable only when a newer version exists, its update notice is not hidden and its website accepts installs. Only filter is accepted: sort, page, fields and include answer 422. The answer can be a few seconds behind the latest change.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Query parameters
Exact WordPress versions of the website, for example 6.8.1. Several values match any of them.
Exact PHP versions of the website, for example 8.2.27. Several values match any of them.
Item types: core, plugin or theme. Several values match any of them.
Component id: counts only the installs of one plugin, theme or WordPress version.
Item states: active, inactive or uninstalled. Several values match any of them.
1 for items with a newer version available, 0 for items that are up to date.
1 for items that can be updated now: a newer version exists, the update notice is not hidden and the website accepts installs. 0 for the rest.
1 for items whose installed version has a known vulnerability, 0 for items without one.
Free-text search on the item's name.
Response
200 - Site items summary
