diff options
| author | Fuwn <[email protected]> | 2021-07-05 15:11:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-05 15:11:11 -0700 |
| commit | b15618cec3d3a111ebfbf82772bbe1ba0826d0fc (patch) | |
| tree | 1d559cd246d803590967c1f438217168b15f3743 /crates/whirl_api/src/routes/mod.rs | |
| parent | feat(whirl_server): implement a demo of the REGOBJID and APPRACTR commands (diff) | |
| download | whirl-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.rs | 1 |
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; |