WordPress across the fleet
One table of every plugin, theme and core version on every server, and one bulk run over the selection.
Reading needs Read only and changes need Manage, unless an endpoint says otherwise. How to read this page.
GET /api/wp/inventory
Section titled “GET /api/wp/inventory”One row per component with its per-site rows, updates and severities.
- Level: Read only
- Input:
?kind=plugin|theme|core&filter=updates,vulnerable,inactive,closed&q=&serverId=&siteSlug=&includeStopped= - Returns:
{rows[], fleet, feed, scanJob}
POST /api/wp/bulk
Section titled “POST /api/wp/bulk”Run one action over many sites as a batch - one job per site.
- Level: Manage
- Notes: Job · Destructive
- Input:
{action, targets: [{siteSlug, kind, slug?}], backupFirst?, healthCheck?: true} (an update follows each site's backupBeforeUpdates; backupFirst answers the sites set to ask) - Returns:
202 {batch, jobs[], skipped[]}
GET /api/wp/batches
Section titled “GET /api/wp/batches”Recent bulk runs with rolled-up job counts.
- Level: Read only
- Input:
?limit=10
GET /api/wp/batches/:id
Section titled “GET /api/wp/batches/:id”One batch and all of its jobs - one poll drives a progress table.
- Level: Read only
- Returns:
{batch, jobs}
POST /api/wp/scan
Section titled “POST /api/wp/scan”Refresh the whole fleet snapshot.
- Level: Manage
- Notes: Job