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:
parent
83872ed7a6
commit
0b25e3fb87
2 changed files with 68 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue