1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 16:23:31 +00:00

Initial PoC of seeder API

This commit is contained in:
Hinton
2025-10-07 12:20:32 -07:00
parent 8f41379548
commit fa46919409
10 changed files with 266 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
using Bit.Core.Utilities;
using Microsoft.AspNetCore.Mvc;
namespace Bit.SeederApi.Controllers;
public class InfoController : Controller
{
[HttpGet("~/alive")]
[HttpGet("~/now")]
public DateTime GetAlive()
{
return DateTime.UtcNow;
}
[HttpGet("~/version")]
public JsonResult GetVersion()
{
return Json(AssemblyHelpers.GetVersion());
}
}