feat: add users endpoint and add me and uuid under it
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
Adds a users endpoint that returns all users on the server, will require instance permissions in future. Place previous user requests under users to avoid having multiple endpoints.
This commit is contained in:
parent
cc07d78325
commit
1d7cdf343b
5 changed files with 149 additions and 18 deletions
|
@ -2,11 +2,11 @@ use actix_web::{Scope, web};
|
|||
|
||||
mod auth;
|
||||
mod stats;
|
||||
mod user;
|
||||
mod users;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/v1")
|
||||
.service(stats::res)
|
||||
.service(auth::web())
|
||||
.service(user::res)
|
||||
.service(users::web())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue