Add ingestion logging and validation error handling with unit tests
This commit is contained in:
1 parent
b4c923ac4e
commit
f588db6434
4 files changed
+241
-2
No files matched your search
@@ -16,6 +16,8 @@ curl http://127.0.0.1:8080/healthz
|
||||
|
||||
Privzeto posluša samo na `127.0.0.1:8080`. Za dostop iz drugih naprav uporabi VPN (Tailscale/WireGuard) ali HTTPS reverse proxy. Ne odpiraj porta neposredno v internet.
|
||||
|
||||
Aplikacijski dnevniki sprejemanja se dodatno pripisujejo v `/data/history-collector.log` (na gostitelju `./data/history-collector.log`).
|
||||
|
||||
## API
|
||||
|
||||
`POST /v1/visits`, z glavo `Authorization: Bearer TVOJ_API_TOKEN`:
|
||||
|
||||
Reference in new issue
Block a user