v2 (build 7)
New HTTP API to communicate with backr daemon, with the following endpoints:
Public
/health
returnsHTTP 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
.