feat: add health check endpoint for monitoring

This commit is contained in:
2025-06-11 19:06:47 +02:00
parent 65e5907b03
commit 6d9b062e58

View File

@ -188,6 +188,7 @@ curl -X PUT "http://localhost:8080/upload/file.txt?v3=SIGNATURE&expires=TIMESTAM
- **GET /download/{filename}**: Alternative download endpoint
### Management Endpoints
- **GET /health**: Health check endpoint for monitoring
- **GET /metrics**: Prometheus metrics (if enabled)
- **Various helper endpoints**: Defined in router setup
@ -238,6 +239,11 @@ curl http://localhost:8080/example.jpg -o downloaded_file.jpg
curl -I http://localhost:8080/example.jpg
```
#### Health Check
```bash
curl http://localhost:8080/health
```
---
## Setup