Skip to main content

get_consumer

Function get_consumer 

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

GET /api/consumers/{name} — returns the named consumer as JSON.

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