Open the station
An operator opens a station this deployment runs. The station then reads open, since that moment, by that operator, and StationOpened is announced. **Required permission:** `referential.station-opening:write`
/referential/v1/stations/{id}/openingAn operator opens a station this deployment runs. The station then reads open, since that moment, by that operator, and StationOpened is announced.
Required permission: referential.station-opening:write
Authorization
oauth2 In: header
Path Parameters
Response Body
*/*
*/*
curl -X PUT "https://example.com/referential/v1/stations/string/opening"{ "id": "string", "opened_at": "2019-08-24T14:15:22Z", "opened_by": "string"}Close the station
An operator closes an open station. The station then reads closed, since that moment, by that operator, and StationClosed is announced. A coach already inside finishes its visit. **Required permission:** `referential.station-opening:write`
Reactivate a station
Puts a retired station back among the choices. It does not resume local management: starting to run it again is a separate decision. **Required permission:** `referential.station:write`