Skip to content

Commit

Permalink
Add get_fallback_routes endpoint to docs/api.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Smet <[email protected]>
  • Loading branch information
LeeSmet committed Feb 26, 2024
1 parent 58b08a5 commit b61581d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,26 @@ paths:
items:
$ref: '#/components/schemas/Route'

'/api/v1/admin/routes/fallback':
get:
tags:
- Admin
- Route
summary: List all active fallback routes
description: |
List all fallback routes in the system, and their next hop identifier, metric and sequence number.
These routes are available to be selected in case the selected route for a destination suddenly fails, or gets retracted.
operationId: getSelectedRoutes
responses:
'200':
description: Succes
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Route'

'/api/v1/messages':
get:
tags:
Expand Down

0 comments on commit b61581d

Please sign in to comment.