Databases API

GET    /api/v1/databases                     # List
POST   /api/v1/databases                     # Create
GET    /api/v1/databases/{id}                # Get
DELETE /api/v1/databases/{id}                # Delete
GET    /api/v1/databases/{id}/credentials    # Get creds
POST   /api/v1/databases/{id}/backups        # Backup
GET    /api/v1/databases/{id}/backups        # List backups

Practical Notes

  • Database passwords and sensitive connection fields are encrypted before storage.
  • Backups and exports are different flows: backups stay managed by Docka, exports are for external retrieval.
  • Always rotate credentials in clients after a restore or manual migration cutover.