Skip to content

v2 (build 7)

Compare
Choose a tag to compare
@matthmart matthmart released this 22 Nov 12:37
· 15 commits to master since this release

New HTTP API to communicate with backr daemon, with the following endpoints:

Public

  • /health returns HTTP 200 if everything is ok, HTTP 418 if not with failed backups details
  • /status returns all configured projects with the current state

Private

  • /backups returns the download links to uploaded backups. Example:
curl -X "GET" "http://domain_name:22257/backups?name=ocelo&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0Nzk4MzEzMDB9.B0e31bug0eGd7zYFKcKUw02dbkkSpyQ-DEfrB7Cb648"

where name is a project name and token is a secure token get with CLI using backr token.