SmartGare
API referenceEndpoints

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`

PUT/referential/v1/stations/{id}/opening

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

AuthorizationBearer <token>

In: header

Path Parameters

id*string

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"}