Skip to navigation

List components

View as MarkdownOpen in Claude

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

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

filter[type][]stringOptional

Component types: core, plugin or theme. Several values match any of them.

filter[site][]stringOptional

Website ids: only installs on these websites are counted. Several values match any of them.

filter[team][]stringOptional

Team ids: only installs on websites of these teams are counted.

filter[tags][]stringOptional

Tag ids: only installs on websites carrying any of these tags are counted.

filter[core_version][]stringOptional

Exact WordPress versions: only installs on websites running one of them are counted, for example 6.8.1.

filter[engine_version][]stringOptional

Exact PHP versions: only installs on websites running one of them are counted, for example 8.2.27.

filter[update_available]stringOptional

1 for components with at least one counted website waiting for an update, 0 for the rest.

filter[has_vulnerabilities]stringOptional

1 for components with a known vulnerability in an installed version, 0 for the rest.

filter[is_abandoned]stringOptional

1 for components whose author has not released anything in 2 years, 0 for the rest.

filter[closed]stringOptional

1 for components closed on wordpress.org, 0 for the rest.

filter[s]stringOptional

Free-text search on the component's name.

sortstringOptional

Sort order: sites_updatable (default, descending), name, vulnerabilities, released_at or sites_total. Prefix with - for descending.

page[number]stringOptional
Page to return, starting at 1. Default 1.
page[size]stringOptional
Number of components per page, 1 to 50. Default 15.
fields[components]stringOptional

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

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional