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(), TotalResults = 0L }); [HttpGet("config/categories"), Authorize] public IActionResult GetCategories() => Ok(new { Results = Array.Empty(), TotalResults = 0L }); }