timetable

Retrieve the list of conflicts of the timetable

Changed on

The following trains are excluded from the result:

  • trains for which the simulation fails
  • trains for which the simulation does not respect schedule times
get/timetable/{id}/conflicts

Request

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

Path parameters

idinteger required

A timetable ID

Query parameters

infra_idinteger required
electrical_profile_set_idinteger

Response

List of conflicts

conflict_type'Spacing' | 'Routing' required
durationinteger required

Duration of the conflict in ms.

start_timeinteger required

Start of the conflict time range: elapsed ms since an implicit 'request base time'. This is the union of all the conflicting time ranges.

The implicit 'request base time' is the same as the train schedules' start_time frame in this timetable. Example: 1970-01-01T00:00:00Z for calendar timetables; the timetable start for hourly timetables.

work_schedule_idsinteger[] required

List of work schedule ids involved in the conflict

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 string to integer, and format from date-time to int64 for 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

    • breaking

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

    • breaking

      the / response's property type changed from integer to string, and format from int64 to date-time for 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