Skip to content

Commit 32e3ebc

Browse files
committed
Update intermodal API: Add bike_transport
1 parent 5665e5c commit 32e3ebc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

_includes/samples/IntermodalRequest.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
],
4949
"search_type": "Accessibility",
5050
"search_dir": "Forward",
51-
"max_transfers": -1
51+
"max_transfers": -1,
52+
"bike_transport": false
5253
}
5354
}

docs/api/endpoint/intermodal.md

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ This is the intermodal routing API. Intermodal here means that start as well as
3232
- `Backward`: the start parameter specifies the arrival of the journey. The destination parameter specifies the departure of the journey.
3333
- ##### <span class="param">max_transfers</span> optional, default is `-1`
3434
The maximum number of transfers allowed per journey. If set to `-1`, the internal default value is used.
35+
- ##### <span class="param">bike_transport</span> optional, default is `false`
36+
Whether only journeys where bike transport is allowed should be considered. If set to `true`, only trips where bike transport is allowed can be used.
3537

3638
## Start
3739

0 commit comments

Comments
 (0)