Skip to main content

get_route

Function get_route 

Source
async fn get_route(
    __arg0: State<Arc<SharedState>>,
    __arg1: Path<String>,
) -> impl IntoResponse
Expand description

GET /api/routes/{name} — returns the named route as JSON.

Errors: 404 Not Found if no route with that name exists.