[PR #2433] [MERGED] Add /api/{alive,now,version} endpoints #3263

Closed
opened 2025-10-09 18:20:08 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: meta-apis


📝 Commits (1)

  • df8aeb1 Add /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 public
IP 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/2433 **Author:** [@jjlin](https://github.com/jjlin) **Created:** 4/24/2022 **Status:** ✅ Merged **Merged:** 4/24/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `meta-apis` --- ### 📝 Commits (1) - [`df8aeb1`](https://github.com/dani-garcia/vaultwarden/commit/df8aeb10e8c05318dc470a3ff78c613fc8bb899e) Add `/api/{alive,now,version}` endpoints ### 📊 Changes **2 files changed** (+26 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/mod.rs` (+24 -3) 📝 `src/api/web.rs` (+2 -4) </details> ### 📄 Description The added endpoints work the same as in their upstream implementations. Upstream also implements `/api/ip`. This seems to include the server's public IP address (the one that should be hidden behind Cloudflare), which doesn't seem like a great idea. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 18:20:08 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3263