pub async fn get_user_by_upstream_id(
    upstream_id: Path<i32>,
    pool: Data<PgPool>,
    request: HttpRequest
) -> ControllerResult<Json<User>>
Expand description

GET /api/v0/tmc-server/users-by-upstream-id/:id Endpoint that TMC server uses to get user information by using its own ids.

Only works if the authorization header is set to a secret value.