Function minerva_rest::controller::user::show
source · [−]async fn show(
tenant: String,
session: SessionInfo,
id: i32
) -> Result<Json<User>, ErrorResponse>
Expand description
Route for fetching data of a single user.
The numeric user ID should be passed through the route.
Upon success, retrieves data for a single user of the given ID in JSON format.