1.0.0
OAS3
PubliBike APIs
Use case: display the location of the
stations on a map and whether or not
bikes are available.
To fetch more details of a specific
station use
/public/stations/{id}
No parameters
Code | Description | Links | ||||||||||||||||
200 |
An array of stations
Media type
Accept
header.
[
{
|
No links |
Returns detailed information about a
specific station and the vehicles
currently at this station.
If the information of multiple
stations is required, consider using
/public/partner/stations
Name | Description |
---|---|
id
*
integer
($int32)
(path)
|
The station id |
Code | Description | Links | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
200 |
Station details
Media type
Accept
header.
{
|
No links | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
404 |
Station not found |
No links |
Delivers all visible PubliBike
stations including all the vehicles
currently at a station.
Use case: Use this endpoint to
repeatedly fetch all stations and
vehicles. Fetch interval: not more
often than every minute.
In case of showing a map with
clickable POIs consider using the
endpoint
/public/stations
to fetch the station locations
and
/public/stations/{id}
for requesting the details when
a user clicks on the station POI.
No parameters
Code | Description | Links | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
200 |
Information of all the stations
Media type
Accept
header.
{
|
No links |