feat: add user lookup to api

lets you use an access token and a uuid to look up users on the instance
This commit is contained in:
Radical 2025-05-01 07:06:58 +02:00
parent 83872ed7a6
commit 0b25e3fb87
2 changed files with 68 additions and 0 deletions

View file

@ -2,9 +2,11 @@ use actix_web::{Scope, web};
mod stats;
mod auth;
mod user;
pub fn web() -> Scope {
web::scope("/v1")
.service(stats::res)
.service(auth::web())
.service(user::res)
}