1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
namespace IOL.BookmarkThing.Server.Api.Internal; public class GetHealthRoute : RouteBaseInternalSync.WithoutRequest.WithActionResult { [AllowAnonymous] [ApiExplorerSettings(IgnoreApi = true)] [HttpGet("~/v{version:apiVersion}/health")] public override ActionResult Handle() { return Ok(new { Request.Protocol, Request.Host, Request.Scheme }); } }