docker run -p 1234:8000 ghcr.io/acmesoftwarellc/police-server:2.0.1
Send Bearer token in the Authorization header to access the API endpoints.
TOKEN = SHA256 hash of "acmesoftwarellc".
Access the server docs at http://localhost:1234/docs
ws://localhost:1234/ws/incidents
Note
For web, headers are not supported in WebSocket connections. Use token
query parameter for authentication.
ws://localhost:1234/ws/incidents?token=$TOKEN