mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-13 21:32:28 +00:00
Add endpoints for status monitoring
This commit is contained in:
parent
34d0ec0337
commit
99f7dadb21
5 changed files with 54 additions and 18 deletions
|
@ -0,0 +1,12 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Servers.API.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("/api/v1")]
|
||||
[Produces("application/json")]
|
||||
public class StatusController : ControllerBase
|
||||
{
|
||||
[HttpGet("status")]
|
||||
public IActionResult GetStatus() => this.Ok();
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Servers.GameServer.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("/LITTLEBIGPLANETPS3_XML")]
|
||||
[Produces("application/json")]
|
||||
public class StatusController : ControllerBase
|
||||
{
|
||||
[HttpGet("status")]
|
||||
public IActionResult GetStatus() => this.Ok();
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Servers.Website.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("/")]
|
||||
[Produces("application/json")]
|
||||
public class StatusController : ControllerBase
|
||||
{
|
||||
[HttpGet("status")]
|
||||
public IActionResult GetStatus() => this.Ok();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue