db

Download database backup

Changed on

Downloads the SQLite database as a backup file. Session users must supply the admin password in the X-Admin-Password header. API key holders via Bearer token are exempt.

get/db/backup

Request

  • Base URL
    https://demo.evcc.io/api
  • URL
    https://demo.evcc.io/api/db/backup
  • Auth
    • API key in cookie auth
    • or HTTP bearer

Headers

X-Admin-Passwordstring

Admin password

Admin password (required for session auth, not needed for API key)

Response

SQLite database file

Changes