REST API
Authenticated REST routes used by the admin UI.
Base
Namespace: stalza-backup/v1
Requires manage_options and a valid WordPress REST nonce / cookie auth (same as the admin UI).
Common routes
| Method | Route | Purpose |
|---|---|---|
| GET | /overview |
Stats, recent backups, storage, protection, active job |
| GET | /backups |
Backup history |
| POST | /backups |
Start a backup job |
| GET | /backups/{uuid}/download |
Download zip |
| POST | /backups/{uuid}/verify |
Re-verify |
| POST | /backups/{uuid}/restore |
Start restore (safety first) |
| DELETE | /backups/{uuid} |
Delete backup |
| GET/POST | /settings |
Read / update settings |
| GET | /jobs/{uuid} |
Job status |
| POST | /jobs/{uuid}/cancel |
Cancel running job |
Exact schemas evolve with the plugin; treat the admin JS and controllers as the source of truth for request bodies.