List stops for a city
curl --request GET \
--url https://staging.api.prexsell.com/v2/cities/{slug}/stops{
"data": {
"stops": [
{
"id": "cst1a2b3c4d5e6f7g8h9",
"place": "Центральний автовокзал",
"type": "BUS_STATION",
"latitude": 50.4501,
"longitude": 30.5234
}
],
"total": 1
}
}Cities
List stops for a city
Returns a paginated list of bus stops belonging to the specified city.
GET
/
v2
/
cities
/
{slug}
/
stops
List stops for a city
curl --request GET \
--url https://staging.api.prexsell.com/v2/cities/{slug}/stops{
"data": {
"stops": [
{
"id": "cst1a2b3c4d5e6f7g8h9",
"place": "Центральний автовокзал",
"type": "BUS_STATION",
"latitude": 50.4501,
"longitude": 30.5234
}
],
"total": 1
}
}Path Parameters
URL-friendly slug of the city whose stops to retrieve.
Example:
"kyiv"
Query Parameters
Maximum number of items to return (1–100).
Required range:
1 <= x <= 100Example:
50
Number of items to skip for offset pagination.
Required range:
x >= 0Example:
0
Response
Paginated list of bus stops belonging to a specific city.
Show child attributes
Show child attributes
⌘I
