train_schedule

POST /train_schedules/track_occupancy

Changed on

Request

  • Base URL
    https://demo.osrd.fr/api
  • Auth
    none declared

Request body

electrical_profile_set_idinteger nullable
infra_idinteger required
timetable_idinteger required
train_schedule_idsinteger[] required
use_simulationboolean required

Response

Track section occupancy periods for train schedules

local_track_namestring nullable

Local track name. Unset if trains occupy the operational point but the specific track is unknown.

Example response

[
  {
    "trains": [
      {
        "duration": "PT5M"
      }
    ]
  }
]

Changes

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • breaking

      removed the required property ////// from the response with the status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status

    • breaking

      removed subschema #2: OperationalPointReferenceTrigram from the request property oneOf list

    • info

      added subschema #2: OperationalPointReferenceDomestic to the request property oneOf list