Updates Abilities (13 abilities)
FreshSource: MainWP Updates Abilities
List & Inspect
| Ability | Method | Description |
|---|---|---|
mainwp/list-updates-v1 | GET | All updates across sites |
mainwp/get-site-updates-v1 | POST | Single site updates |
mainwp/list-ignored-updates-v1 | GET | Ignored update list |
list-updates-v1 Parameters
| Param | Type | Description |
|---|---|---|
site_ids_or_domains | array | Filter to specific sites |
types | array | core, plugins, themes, translations |
page | integer | Page number (default: 1) |
per_page | integer | Max 200 (default: 50) |
Execute Updates
| Ability | Method | Description |
|---|---|---|
mainwp/run-updates-v1 | POST | Update multiple sites (>200 queued) |
mainwp/update-site-core-v1 | POST | Update WordPress core |
mainwp/update-site-plugins-v1 | POST | Update plugins (optional slugs filter) |
mainwp/update-site-themes-v1 | POST | Update themes (optional slugs filter) |
mainwp/update-site-translations-v1 | POST | Update translations |
mainwp/update-all-v1 | POST | ALL updates across sites |
update-all-v1
This applies ALL updates including WordPress core. Test on staging first.
Manage Ignores
| Ability | Method | Description |
|---|---|---|
mainwp/set-ignored-updates-v1 | POST | Add/remove from ignore list |
mainwp/ignore-site-core-v1 | POST | Ignore/unignore core for site |
mainwp/ignore-site-plugins-v1 | POST | Ignore/unignore plugins for site |
mainwp/ignore-site-themes-v1 | POST | Ignore/unignore themes for site |