Skip to content

Sites Abilities (30 abilities)

Fresh

Source: MainWP Sites Abilities

Listing & Counting

AbilityMethodDescription
mainwp/list-sites-v1GETList sites with pagination/filtering
mainwp/count-sites-v1GETTotal count with status filter
mainwp/get-sites-basic-v1GETMinimal data (ID, URL, name)
mainwp/get-site-v1POSTDetailed single site info

Site Operations

AbilityMethodDescription
mainwp/add-site-v1POSTAdd new child site
mainwp/update-site-v1POSTModify site properties
mainwp/delete-site-v1POSTRemove site (destructive, requires confirm)
mainwp/sync-sites-v1POSTSync one or multiple sites (>200 queued)

Connectivity

AbilityMethodDescription
mainwp/reconnect-site-v1POSTReconnect single site
mainwp/reconnect-sites-v1POSTBatch reconnect
mainwp/disconnect-site-v1POSTDisconnect single site
mainwp/disconnect-sites-v1POSTBatch disconnect
mainwp/check-site-v1POSTTest single site connectivity
mainwp/check-sites-v1POSTBatch connectivity check
mainwp/suspend-site-v1POSTSuspend (exclude from sync/updates)
mainwp/suspend-sites-v1POSTBatch suspend
mainwp/unsuspend-site-v1POSTRestore suspended site

Plugins & Themes

AbilityMethodDescription
mainwp/get-site-plugins-v1POSTList plugins (filter active/inactive)
mainwp/activate-site-plugins-v1POSTActivate by slug
mainwp/deactivate-site-plugins-v1POSTDeactivate by slug
mainwp/delete-site-plugins-v1POSTDelete (destructive)
mainwp/get-site-themes-v1POSTList themes
mainwp/activate-site-theme-v1POSTActivate by slug
mainwp/delete-site-themes-v1POSTDelete (destructive)
mainwp/get-abandoned-plugins-v1GETPlugins without updates 2+ years
mainwp/get-abandoned-themes-v1GETAbandoned themes

Data Queries

AbilityMethodDescription
mainwp/get-site-security-v1POSTSecurity issues, file perms, SSL
mainwp/get-site-changes-v1POSTActivity logs (requires Logs module)
mainwp/get-site-client-v1POSTClient association
mainwp/get-site-costs-v1POSTCost data (requires Cost Tracker)