Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
@@ -0,0 +1,29 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace RadicadeServer.API.Notifications;
[ApiController]
[Route("platformnotifications")]
public sealed class PlatformNotificationsAPI : ControllerBase
{
[HttpGet("preferences"), Authorize]
public IActionResult GetPreferences() => Ok(new { email = true, push = true, notifications = true });
[HttpGet("accounts/{accountId:long}/receives/{notificationType}"), Authorize]
public IActionResult Receives(long accountId, string notificationType) => Ok(true);
[HttpGet("crm/me/config"), Authorize]
public IActionResult GetCrmConfig() => Ok(new
{
Results = Array.Empty<object>(),
TotalResults = 0L
});
[HttpGet("config/categories"), Authorize]
public IActionResult GetCategories() => Ok(new
{
Results = Array.Empty<object>(),
TotalResults = 0L
});
}