aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_api/src/routes/mod.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-05 15:11:11 +0000
committerFuwn <[email protected]>2021-07-05 15:11:11 +0000
commit49f49e5f1f5ec8d1fe6a8f9b068e65b592d8e465 (patch)
tree6caa2e0302d840a9be8385d23d1483b11fe63af0 /crates/whirl_api/src/routes/mod.rs
parentfeat(whirl_server): implement a demo of the REGOBJID and APPRACTR commands (diff)
downloadwhirl-49f49e5f1f5ec8d1fe6a8f9b068e65b592d8e465.tar.xz
whirl-49f49e5f1f5ec8d1fe6a8f9b068e65b592d8e465.zip
feat(whirl_api): /api/v1/worlds/vip endpoint
An endpoint for checking if a given user has VIP status at the time of request. Example usage: https://api.whirlsplash.org/api/v1/worlds/vip?username=fuwn will return `false`.
Diffstat (limited to 'crates/whirl_api/src/routes/mod.rs')
-rw-r--r--crates/whirl_api/src/routes/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/whirl_api/src/routes/mod.rs b/crates/whirl_api/src/routes/mod.rs
index ca664cd..562e73d 100644
--- a/crates/whirl_api/src/routes/mod.rs
+++ b/crates/whirl_api/src/routes/mod.rs
@@ -2,3 +2,4 @@
// SPDX-License-Identifier: GPL-3.0-only
pub mod stats;
+pub mod worlds;