/* voltgrid */ → api
VoltGrid Charging API
Three endpoints that actually run: list and filter stations (city, status, connector, power), fetch details, start charging sessions, with proper validation. Tip: station 4 is under maintenance, station 2 is occupied, go provoke the 422s. Below: the full Swagger docs.
curl "http://localhost/api/v1/stations?city=Hamburg&status=available"
curl -X POST http://localhost/api/v1/sessions \
-H "Content-Type: application/json" \
-d '{"stationId": 1, "connectorType": "CCS", "estimatedKwh": 40}'// swagger ui lädt …
// Demo API without persistence: sessions are confirmed but no station actually starts. Spec: /openapi.json
// On static hosting an in-browser mock answers the requests · with exactly the same validation logic (one shared source). The curl examples apply to server deploys.