mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace RadicadeServer.API.Analytics
|
||||
{
|
||||
[Route("datacollection")]
|
||||
public class DataCollectionAPI : Controller
|
||||
{
|
||||
[HttpPost("data/event")]
|
||||
[HttpPost("data/heartbeat")]
|
||||
public IActionResult Event()
|
||||
{
|
||||
return Ok(new { });
|
||||
}
|
||||
|
||||
[HttpPost("data/events")]
|
||||
public IActionResult Events()
|
||||
{
|
||||
return Ok(Array.Empty<object>());
|
||||
}
|
||||
|
||||
[HttpGet("sampling")]
|
||||
public IActionResult Sampling()
|
||||
{
|
||||
return Ok(new { });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user