infra

A paginated list of errors related to an infra

Changed on
get/infra/{infra_id}/errors

Request

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

Path parameters

infra_idinteger required

An existing infra ID

Query parameters

pageinteger
page_sizeinteger
level'warnings' | 'errors' | 'all'

Whether the response should include errors or warnings

error_type'duplicated_group' | 'empty_object' | 'invalid_group' | 'invalid_reference' | 'invalid_route' | 'invalid_switch_ports' | 'missing_route' | 'missing_buffer_stop' | 'node_endpoints_not_unique' | 'object_out_of_path' | 'odd_buffer_stop_location' | 'out_of_range' | 'overlapping_electrifications' | 'overlapping_speed_sections' | 'overlapping_switches' | 'unknown_port_name' | 'unused_port'

Auto-generated discriminant enum variants

The type of error to filter on

object_idstring

Filter errors and warnings related to a given object

Response

A paginated list of errors

countinteger required

The total number of items

currentinteger required

The current page number

nextinteger nullable required

The next page number, if any

page_countinteger required

The total number of pages

page_sizeinteger required

The number of items per page

previousinteger nullable required

The previous page number, if any

Changes

    • 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

    • info

      added the required property //// to 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 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

    • breaking

      removed the required property //// from the response with the 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