v52

latestOpenAPI 3.1.0LGPLraw.githubusercontent.com2026-08-04157452441.5 KB
infra

A paginated list of errors related to an infra

get/infra/{infra_id}/errors

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