scenarios

Return a specific scenario

Changed on
get/scenarios/{scenario_id}

Request

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

Path parameters

scenario_idinteger required

Response

The requested scenario

creation_datestring date-time required
descriptionstring required
electrical_profile_set_idinteger
idinteger required
infra_idinteger required
last_modificationstring date-time required
namestring required
study_idinteger required
tagsstring[] required
timetable_idinteger required
infra_namestring required
timetable_type'CALENDAR' | 'HOURLY' required
train_schedules_countinteger required

Changes

    • info

      added the required property / to the response with the status

    • breaking

      removed the required property / from the response with the status