Flowion Docs

Local authorization list

The per-charging station allow-list a charging station authorizes against while offline (OCPP 1.6 §3.5.2). Curating a list selects from the id-token registry and takes Admin; pushing one to a charging station takes Owner and is recorded, because it puts token values on a wire — see docs/adr/0008-pushing-an-authorization-list-is-not-a-reveal.md. The push itself lives under Commands.

2 endpoints

Reads a charging_station's local authorization list.

get/v1/charging-stations/{charging_station_id}/local-auth-listRequires a bearer token

Parameters

NameInTypeDescription
charging_station_id*pathstring<uuid>ChargingStation id

Responses

StatusBodyDescription
200LocalAuthListViewThe charging_station's list
401ErrorBodyMissing, invalid, or expired bearer token
403ErrorBodyBelow the required role
404ErrorBodyNo such charging_station, or it has no list yet

Replaces a charging_station's local authorization list membership, creating the list if it has none.

put/v1/charging-stations/{charging_station_id}/local-auth-listRequires a bearer token

Does not contact the charging_station and does not move the list's version — see this module's doc.

Parameters

NameInTypeDescription
charging_station_id*pathstring<uuid>ChargingStation id

Request bodyReplaceListRequest

FieldTypeDescription
entries*array<EntryRequest>

Responses

StatusBodyDescription
200LocalAuthListViewThe updated list
400ErrorBodyA duplicate or out-of-environment token
401ErrorBodyMissing, invalid, or expired bearer token
403ErrorBodyBelow the required role
404ErrorBodyNo such charging_station