List components
Returns each plugin, theme and WordPress version installed on your websites once, with how many websites have it, how many can be updated, its known vulnerabilities and the actions running on it. Use it to decide what to update first. Sorted by the number of websites with an update available, most first, unless you sort otherwise.
The website filters narrow which websites are counted. When fields[components] is not sent, every counter is returned.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Query parameters
Component types: core, plugin or theme. Several values match any of them.
Website ids: only installs on these websites are counted. Several values match any of them.
Team ids: only installs on websites of these teams are counted.
Exact WordPress versions: only installs on websites running one of them are counted, for example 6.8.1.
Exact PHP versions: only installs on websites running one of them are counted, for example 8.2.27.
1 for components with at least one counted website waiting for an update, 0 for the rest.
1 for components with a known vulnerability in an installed version, 0 for the rest.
1 for components whose author has not released anything in 2 years, 0 for the rest.
1 for components closed on wordpress.org, 0 for the rest.
Free-text search on the component's name.
Sort order: sites_updatable (default, descending), name, vulnerabilities, released_at or sites_total. Prefix with - for descending.
Attributes to return, comma-separated; only those are returned. Default: all of slug, name, type, url, is_abandoned, closed, latest_version, released_at, days_since_release, copilot_score, vulnerabilities, sites_total, sites_updatable, sites_active and in_progress_actions. sites_updatable counts the websites with a newer version pending, an update notice that is not hidden, and that also accept installs.
Response
200 - Components
