aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_api/src/routes/mod.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-05 15:11:11 -0700
committerFuwn <[email protected]>2021-07-05 15:11:11 -0700
commitb15618cec3d3a111ebfbf82772bbe1ba0826d0fc (patch)
tree1d559cd246d803590967c1f438217168b15f3743 /crates/whirl_api/src/routes/mod.rs
parentfeat(whirl_server): implement a demo of the REGOBJID and APPRACTR commands (diff)
downloadwhirl-b15618cec3d3a111ebfbf82772bbe1ba0826d0fc.tar.xz
whirl-b15618cec3d3a111ebfbf82772bbe1ba0826d0fc.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;