What's New
Admin REST API (#64)
A full provisioning API for automated infrastructure-as-code workflows with Ansible, Terraform, or CI pipelines.
Authentication: Bearer token via Authorization: Bearer bbs_tok_...
- Token management in Settings > API tab or via
bin/bbs-tokenCLI
Endpoints:
| Resource | Endpoints |
|---|---|
| Clients | GET/POST list/create, GET/PUT/DELETE detail/edit/delete |
| Repositories | GET/POST list/create, PUT rename, DELETE delete (local + remote SSH) |
| Backup Plans | GET/POST list/create, PUT edit, DELETE, POST pause/resume/trigger |
| Jobs | GET list (paginated, filterable), GET detail |
| Queue | GET global active queue |
| Plugins | GET list, GET schema, GET/POST configs per client |
| Storage | GET local + remote SSH locations |
Full documentation: API Wiki
Fixes
- Fix
getLocalRepoPath()to parse directory name from the SSH path URL instead of relying on$repo['name']— prevents path mismatches after renames for prune, compact, catalog, restore, and S3 sync operations