Sites Abilities (30 abilities)
FreshSource: MainWP Sites Abilities
Listing & Counting
| Ability | Method | Description |
|---|---|---|
mainwp/list-sites-v1 | GET | List sites with pagination/filtering |
mainwp/count-sites-v1 | GET | Total count with status filter |
mainwp/get-sites-basic-v1 | GET | Minimal data (ID, URL, name) |
mainwp/get-site-v1 | POST | Detailed single site info |
Site Operations
| Ability | Method | Description |
|---|---|---|
mainwp/add-site-v1 | POST | Add new child site |
mainwp/update-site-v1 | POST | Modify site properties |
mainwp/delete-site-v1 | POST | Remove site (destructive, requires confirm) |
mainwp/sync-sites-v1 | POST | Sync one or multiple sites (>200 queued) |
Connectivity
| Ability | Method | Description |
|---|---|---|
mainwp/reconnect-site-v1 | POST | Reconnect single site |
mainwp/reconnect-sites-v1 | POST | Batch reconnect |
mainwp/disconnect-site-v1 | POST | Disconnect single site |
mainwp/disconnect-sites-v1 | POST | Batch disconnect |
mainwp/check-site-v1 | POST | Test single site connectivity |
mainwp/check-sites-v1 | POST | Batch connectivity check |
mainwp/suspend-site-v1 | POST | Suspend (exclude from sync/updates) |
mainwp/suspend-sites-v1 | POST | Batch suspend |
mainwp/unsuspend-site-v1 | POST | Restore suspended site |
Plugins & Themes
| Ability | Method | Description |
|---|---|---|
mainwp/get-site-plugins-v1 | POST | List plugins (filter active/inactive) |
mainwp/activate-site-plugins-v1 | POST | Activate by slug |
mainwp/deactivate-site-plugins-v1 | POST | Deactivate by slug |
mainwp/delete-site-plugins-v1 | POST | Delete (destructive) |
mainwp/get-site-themes-v1 | POST | List themes |
mainwp/activate-site-theme-v1 | POST | Activate by slug |
mainwp/delete-site-themes-v1 | POST | Delete (destructive) |
mainwp/get-abandoned-plugins-v1 | GET | Plugins without updates 2+ years |
mainwp/get-abandoned-themes-v1 | GET | Abandoned themes |
Data Queries
| Ability | Method | Description |
|---|---|---|
mainwp/get-site-security-v1 | POST | Security issues, file perms, SSL |
mainwp/get-site-changes-v1 | POST | Activity logs (requires Logs module) |
mainwp/get-site-client-v1 | POST | Client association |
mainwp/get-site-costs-v1 | POST | Cost data (requires Cost Tracker) |