@@ -678,6 +678,11 @@ paths:
678
678
get :
679
679
tags :
680
680
- delimited_area
681
+ summary : Return any track between one of the `entries` and one of the `exits`, i.e. any track that can
682
+ description : |-
683
+ be reached from an entry before reaching an exit.
684
+ To prevent a missing exit to cause the graph traversal to never stop exploring, the exploration
685
+ stops when a maximum distance is reached and no exit has been found.
681
686
parameters :
682
687
- name : infra_id
683
688
in : path
@@ -697,26 +702,7 @@ paths:
697
702
track_ranges :
698
703
type : array
699
704
items :
700
- type : object
701
- required :
702
- - track
703
- - begin
704
- - end
705
- - direction
706
- properties :
707
- begin :
708
- type : number
709
- format : double
710
- direction :
711
- $ref : ' #/components/schemas/Direction'
712
- end :
713
- type : number
714
- format : double
715
- track :
716
- type : string
717
- maxLength : 255
718
- minLength : 1
719
- additionalProperties : false
705
+ $ref : ' #/components/schemas/DirectionalTrackRange'
720
706
required : true
721
707
responses :
722
708
' 200 ' :
@@ -731,26 +717,7 @@ paths:
731
717
track_ranges :
732
718
type : array
733
719
items :
734
- type : object
735
- required :
736
- - track
737
- - begin
738
- - end
739
- - direction
740
- properties :
741
- begin :
742
- type : number
743
- format : double
744
- direction :
745
- $ref : ' #/components/schemas/Direction'
746
- end :
747
- type : number
748
- format : double
749
- track :
750
- type : string
751
- maxLength : 255
752
- minLength : 1
753
- additionalProperties : false
720
+ $ref : ' #/components/schemas/DirectionalTrackRange'
754
721
/infra/{infra_id}/errors :
755
722
get :
756
723
tags :
@@ -3563,6 +3530,15 @@ components:
3563
3530
force :
3564
3531
type : boolean
3565
3532
description : force the deletion even if it's used
3533
+ DelimitedAreaResponse :
3534
+ type : object
3535
+ required :
3536
+ - track_ranges
3537
+ properties :
3538
+ track_ranges :
3539
+ type : array
3540
+ items :
3541
+ $ref : ' #/components/schemas/DirectionalTrackRange'
3566
3542
Detector :
3567
3543
type : object
3568
3544
required :
@@ -3596,6 +3572,22 @@ components:
3596
3572
maxLength : 255
3597
3573
minLength : 1
3598
3574
additionalProperties : false
3575
+ DirectedLocation :
3576
+ type : object
3577
+ required :
3578
+ - track
3579
+ - position
3580
+ - direction
3581
+ properties :
3582
+ direction :
3583
+ $ref : ' #/components/schemas/Direction'
3584
+ position :
3585
+ type : number
3586
+ format : double
3587
+ track :
3588
+ type : string
3589
+ maxLength : 255
3590
+ minLength : 1
3599
3591
Direction :
3600
3592
type : string
3601
3593
enum :
@@ -4138,6 +4130,30 @@ components:
4138
4130
type : string
4139
4131
enum :
4140
4132
- editoast:DatabaseAccessError
4133
+ EditoastDelimitedAreaErrorInvalidLocations :
4134
+ type : object
4135
+ required :
4136
+ - type
4137
+ - status
4138
+ - message
4139
+ properties :
4140
+ context :
4141
+ type : object
4142
+ required :
4143
+ - invalid_locations
4144
+ properties :
4145
+ invalid_locations :
4146
+ type : array
4147
+ message :
4148
+ type : string
4149
+ status :
4150
+ type : integer
4151
+ enum :
4152
+ - 400
4153
+ type :
4154
+ type : string
4155
+ enum :
4156
+ - editoast:delimited_area:InvalidLocations
4141
4157
EditoastDocumentErrorsNotFound :
4142
4158
type : object
4143
4159
required :
@@ -4290,6 +4306,7 @@ components:
4290
4306
- $ref : ' #/components/schemas/EditoastCoreErrorGenericCoreError'
4291
4307
- $ref : ' #/components/schemas/EditoastCoreErrorUnparsableErrorOutput'
4292
4308
- $ref : ' #/components/schemas/EditoastDatabaseAccessErrorDatabaseAccessError'
4309
+ - $ref : ' #/components/schemas/EditoastDelimitedAreaErrorInvalidLocations'
4293
4310
- $ref : ' #/components/schemas/EditoastDocumentErrorsNotFound'
4294
4311
- $ref : ' #/components/schemas/EditoastEditionErrorInfraIsLocked'
4295
4312
- $ref : ' #/components/schemas/EditoastEditionErrorSplitTrackSectionBadOffset'
@@ -6615,6 +6632,33 @@ components:
6615
6632
properties :
6616
6633
state :
6617
6634
$ref : ' #/components/schemas/InfraState'
6635
+ InputError :
6636
+ oneOf :
6637
+ - type : object
6638
+ required :
6639
+ - TrackDoesNotExist
6640
+ properties :
6641
+ TrackDoesNotExist :
6642
+ type : string
6643
+ - type : object
6644
+ required :
6645
+ - LocationOutOfBounds
6646
+ properties :
6647
+ LocationOutOfBounds :
6648
+ type : object
6649
+ required :
6650
+ - track
6651
+ - position
6652
+ - track_length
6653
+ properties :
6654
+ position :
6655
+ type : number
6656
+ format : double
6657
+ track :
6658
+ type : string
6659
+ track_length :
6660
+ type : number
6661
+ format : double
6618
6662
InternalError :
6619
6663
type : object
6620
6664
required :
0 commit comments