train_schedule
pathfinding

Get a path from a train schedule given an infrastructure id and a train schedule id

Changed on
get/train_schedules/{id}/path

Request

  • Base URL: https://demo.osrd.fr/api
  • URL: https://demo.osrd.fr/api/train_schedules/{id}/path
  • Auth: none declared

Path parameters

idinteger required

Query parameters

infra_idinteger required
exception_idinteger
begin_indexinteger

Index of the first path item of the portion to include. Defaults to the path’s first item.

end_indexinteger

Index of the last path item of the portion to include. Defaults to the path’s last item.

Response

The path

OR
OR
OR
OR
OR
OR
OR
OR
OR

Changes

    • breaking

      added subschema #3: PathfindingInputErrorUnauthorizedRollingStock to the ///////// response property oneOf list for the response status

    • breaking

      added subschema #2: OperationalPointReferenceDomestic to the /////////////////// response property oneOf list for the response status

    • info

      removed subschema #2: OperationalPointReferenceTrigram from the /////////////////// response property oneOf list for the response status