Implemented node crud and status health check. Added daemon status health endpoint. Refactored project structure. Added sidebar items and ui views
This commit is contained in:
14
MoonlightServers.Api/Remote/Nodes/PingController.cs
Normal file
14
MoonlightServers.Api/Remote/Nodes/PingController.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using MoonlightServers.Api.Infrastructure.Implementations.NodeToken;
|
||||
|
||||
namespace MoonlightServers.Api.Remote.Nodes;
|
||||
|
||||
[ApiController]
|
||||
[Route("api/remote/servers/nodes/ping")]
|
||||
[Authorize(AuthenticationSchemes = NodeTokenSchemeHandler.SchemeName)]
|
||||
public class PingController : Controller
|
||||
{
|
||||
[HttpGet]
|
||||
public ActionResult Get() => NoContent();
|
||||
}
|
||||
Reference in New Issue
Block a user