pathfinding

Compute a pathfinding

Changed on
post/infra/{infra_id}/pathfinding/blocks

Request

  • Base URL: https://demo.osrd.fr/api
  • URL: https://demo.osrd.fr/api/infra/{infra_id}/pathfinding/blocks
  • Auth: none declared

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_systemsSupportedSignalingSystemVariant[] 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
OR

Changes