level_crossing

Get the occupancy of a set of level crossings for a set of trains

Changed on
post/level_crossing_occupancy

Request

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

Request body

electrical_profile_set_idinteger nullable
infra_idinteger required
level_crossing_idsIdentifier[] required
timetable_idinteger required
train_idsinteger[] required

Response

Occupancy periods of the given level crossings

object required

Changes

    • breaking

      the /// response's property type changed from string to integer, and format from date-time to int64 for status

    • breaking

      the /// response's property type changed from integer to string, and format from int64 to date-time for status