From e0e9de0e85c3f1939577e5f6ff79acfe900d8dc3 Mon Sep 17 00:00:00 2001 From: sascha Date: Wed, 8 Apr 2026 21:46:17 +0200 Subject: [PATCH] docs: update README - mongo 8, JSON push format, remove deprecated query params --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b18f5b6..06f36ce 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A self-hosted backup monitoring dashboard with a premium dark-theme UI, MongoDB backend, and deep integrations for Borgmatic, Uptime Kuma, Prometheus, and webhooks. -![Dark Theme](https://img.shields.io/badge/theme-Sentinel%20Dark-0b1326?style=flat-square) ![Python](https://img.shields.io/badge/python-3.12-blue?style=flat-square) ![MongoDB](https://img.shields.io/badge/mongodb-4.4+-green?style=flat-square) ![Tailwind](https://img.shields.io/badge/tailwind-CSS-38bdf8?style=flat-square) +![Dark Theme](https://img.shields.io/badge/theme-Sentinel%20Dark-0b1326?style=flat-square) ![Python](https://img.shields.io/badge/python-3.12-blue?style=flat-square) ![MongoDB](https://img.shields.io/badge/mongodb-8-green?style=flat-square) ![Tailwind](https://img.shields.io/badge/tailwind-CSS-38bdf8?style=flat-square) ## Features @@ -49,7 +49,7 @@ services: - mongo mongo: - image: mongo:4.4 # Use 7+ if your CPU supports AVX + image: mongo:8 container_name: backup-mongo restart: always volumes: @@ -65,7 +65,9 @@ After each backup, send a POST request: ```bash # Minimal push -curl -X POST "http://localhost:9999/api/push?host=myserver&status=ok" +curl -X POST -H "Content-Type: application/json" \ + -d '{"host":"myserver","status":"ok"}' \ + http://localhost:9999/api/push # Full push with stats curl -X POST -H "Content-Type: application/json" \ @@ -82,8 +84,9 @@ curl -X POST -H "Content-Type: application/json" \ http://localhost:9999/api/push # With API key -curl -X POST -H "X-API-Key: your-key" \ - "http://localhost:9999/api/push?host=myserver&status=ok" +curl -X POST -H "X-API-Key: your-key" -H "Content-Type: application/json" \ + -d '{"host":"myserver","status":"ok"}' \ + http://localhost:9999/api/push ``` ### Borgmatic Integration