mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 15:09:26 -07:00
28 lines
470 B
C#
28 lines
470 B
C#
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 { });
|
|
}
|
|
}
|
|
}
|