This exposes the common functions of Restic with Schelly REST APIs so that it can be used as a backup backend for Schelly (https://github.com/flaviostutz/schelly#webhook-spec)
See more at https://github.com/flaviostutz/schelly
docker-compose .yml
version: '3.5'
services:
restic-api:
image: flaviostutz/schelly-restic
ports:
- 7070:7070
environment:
- RESTIC_PASSWORD=123
- LOG_LEVEL=debug
#create a new backup
curl -X POST localhost:7070/backups
#list existing backups
curl -X localhost:7070/backups
#get info about an specific backup
curl localhost:7070/backups/abc123
#remove existing backup
curl -X DELETE localhost:7070/backups/abc123
As in https://github.com/flaviostutz/schelly#webhook-spec