ELSP REST API (v1)

Download OpenAPI specification:Download

Authentication

bearerAuth

All requests must be authenticated using a bearer token. The token is provided by the system administrator and is used to track API usage.

Security Scheme Type HTTP
HTTP Authorization Scheme bearer

Bikes

List all bikes

Authorizations:

Responses

200

An array of bikes

get /bikes

Local dev environment

http://localhost:4000/rest/v1/bikes

Example live environment

https://elsp.example.com/rest/v1/bikes

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    [
    ]
}

Get single bike

Authorizations:
path Parameters
id
required
string

ID of the bike

Responses

200

A bike object

get /bikes/{id}

Local dev environment

http://localhost:4000/rest/v1/bikes/{id}

Example live environment

https://elsp.example.com/rest/v1/bikes/{id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Charging stations

List all charging stations

Authorizations:

Responses

200

An array of charging stations

get /charging-stations

Local dev environment

http://localhost:4000/rest/v1/charging-stations

Example live environment

https://elsp.example.com/rest/v1/charging-stations

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    [
    ]
}

Get single charging station

Authorizations:
path Parameters
id
required
string

ID of the charging station

Responses

200

A charging station object

get /charging-stations/{id}

Local dev environment

http://localhost:4000/rest/v1/charging-stations/{id}

Example live environment

https://elsp.example.com/rest/v1/charging-stations/{id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Parking zones

List all parking zones

Authorizations:

Responses

200

An array of parking zones

get /parking-zones

Local dev environment

http://localhost:4000/rest/v1/parking-zones

Example live environment

https://elsp.example.com/rest/v1/parking-zones

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    [
    ]
}

Get single parking zone

Authorizations:
path Parameters
id
required
string

ID of the parking zone

Responses

200

A parking zone object

get /parking-zones/{id}

Local dev environment

http://localhost:4000/rest/v1/parking-zones/{id}

Example live environment

https://elsp.example.com/rest/v1/parking-zones/{id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}

Driving zones

List all driving zones

Authorizations:

Responses

200

An array of driving zones

get /driving-zones

Local dev environment

http://localhost:4000/rest/v1/driving-zones

Example live environment

https://elsp.example.com/rest/v1/driving-zones

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    [
    ]
}

Get single driving zone

Authorizations:
path Parameters
id
required
string

ID of the driving zone

Responses

200

A driving zone object

get /driving-zones/{id}

Local dev environment

http://localhost:4000/rest/v1/driving-zones/{id}

Example live environment

https://elsp.example.com/rest/v1/driving-zones/{id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data":
    {
    }
}