timetable
train_schedule

Get a train schedule by its ID

Changed on
get/train_schedules/{id}

Request

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

Path parameters

idinteger required

Response

The requested train schedule

comfort'STANDARD' | 'AIR_CONDITIONING' | 'HEATING'
constraint_distribution'STANDARD' | 'MARECO' required
initial_speednumber double
labelsstring[]
rolling_stock_namestring required
speed_limit_tagstring
start_timeinteger required

For calendar timetables: elapsed ms since 1970-01-01T00:00:00Z. For hourly timetables: elapsed ms since the timetable start.

train_namestring required
idinteger required
train_schedule_set_idinteger required

Changes

    • info

      added subschema #1 subschema #2 to the /// response property allOf list for the response status

    • info

      removed subschema #1 subschema #2 from the /// response property allOf list for the response status

    • info

      added subschema #1 subschema #2 to the /// response property allOf list for the response status

    • info

      removed subschema #1 subschema #2 from the /// response property allOf list for the response status