Site Manager Connector releasesself-updates
WordPress REST API connector for Site Manager
by Site Manager · github.com/megensel/site-manager-connector
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/megensel/site-manager-connector/releases/download/v1.1.0/site-manager-connector.zipShips its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.
REST API for the Site Manager app. Manage plugins, themes, backups, and updates via API key authentication.
Description
Site Manager Connector exposes a REST API under wp-json/site-manager/v1/ so the Site Manager application can perform admin tasks on this WordPress site: list and manage plugins and themes, create database and file backups, apply updates, toggle maintenance mode, flush cache, and more.
Authentication is via a plugin-generated API key (Settings > Site Manager). Send the key in the X-Site-Manager-Key header with every request.
Installation
- Upload the plugin folder to
/wp-content/plugins/or install via Plugins > Add New. - Activate the plugin.
- Go to Settings > Site Manager to view or regenerate your API key.
- In the Site Manager app, add this site and paste the API key.
API Endpoints
- GET /info - System info (WP/PHP version, disk, DB size)
- GET/POST /plugins - List, install, activate, deactivate, update, delete
- GET/POST /themes - List, install, activate, update, delete
- GET /updates, POST /updates/core - Pending updates and core update
- POST /backups/database, POST /backups/files - Create backups; GET /backups/download/{token} to download
- GET /users - List users with roles
- GET/POST /options - Read/update WordPress options
- POST /maintenance/on, /maintenance/off - Maintenance mode
- POST /cache/flush, /database/optimize - Cache and DB
- GET /files, /files/read, POST /files/write - Browse and edit files
Changelog
1.1.0
- Added auto-update support via GitHub releases.
- Added connector version to /info endpoint.
- Added update server URL setting in admin.
1.0.0
- Initial release.
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.