mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
[PR #2433] [MERGED] Add /api/{alive,now,version} endpoints
#3263
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2433
Author: @jjlin
Created: 4/24/2022
Status: ✅ Merged
Merged: 4/24/2022
Merged by: @dani-garcia
Base:
main← Head:meta-apis📝 Commits (1)
df8aeb1Add/api/{alive,now,version}endpoints📊 Changes
2 files changed (+26 additions, -7 deletions)
View changed files
📝
src/api/core/mod.rs(+24 -3)📝
src/api/web.rs(+2 -4)📄 Description
The added endpoints work the same as in their upstream implementations.
Upstream also implements
/api/ip. This seems to include the server's publicIP address (the one that should be hidden behind Cloudflare), which doesn't
seem like a great idea.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.