infra

Retrieve a list of operations to fix infra issues

Changed on
get/infra/{infra_id}/auto_fixes

Request

  • Base URL: https://demo.osrd.fr/api
  • URL: https://demo.osrd.fr/api/infra/{infra_id}/auto_fixes
  • Auth: none declared

Path parameters

infra_idinteger required

An existing infra ID

Response

The list of suggested operations

Example response

[
  {
    "railjson": {
      "groups": {
        "LEFT": {
          "dst": "LEFT",
          "src": "BASE"
        },
        "RIGHT": {
          "dst": "RIGHT",
          "src": "BASE"
        }
      },
      "id": "Point",
      "ports": [
        "LEFT",
        "RIGHT",
        "BASE"
      ]
    }
  }
]

Changes

    • breaking

      the / response's property type changed from object to no type 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 subschema #2 to the / response property allOf list for the response status

    • breaking

      the / response's property type changed from no type to object for status

    • info

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

    • info

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

    • info

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