v52

latestOpenAPI 3.1.0LGPLraw.githubusercontent.com2026-08-04157452441.5 KB
pathfinding

Compute a pathfinding

post/infra/{infra_id}/pathfinding/blocks

Path parameters

infra_idinteger required

The infra id

Request body

allowed_track_sectionsstring[]

Set of authorized track section ids, empty means no restriction

rolling_stock_is_thermalboolean required

Can the rolling stock run on non-electrified tracks

rolling_stock_lengthinteger required

Rolling stock length in millimeters

rolling_stock_loading_gauge'G1' | 'G2' | 'GA' | 'GB' | 'GB1' | 'GC' | 'FR3.3' | 'FR3.3/GB/G2' | 'GLOTT' required
rolling_stock_maximum_speednumber double required

Rolling stock maximum speed

rolling_stock_supported_electrificationsstring[] required

List of supported electrification modes. Empty if does not support any electrification

rolling_stock_supported_signaling_systemsstring[] required

List of supported signaling systems

speed_limit_tagstring nullable

Speed limit tag, used to estimate the travel time

stops_at_end_of_blockboolean nullable

Stop the train at the next block-delimiting signal, staying in the same block and keeping the tail on the initial position

Response

Pathfinding Result

OR
OR
OR
OR
OR
OR
OR
OR