using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace DeluxeBackend.Controllers.Api { [Route("api/communityboard")] [ApiController] public class CommunityBoardController : ControllerBase { [HttpGet("v2/current")] [Authorize(Roles = "gameClient")] public async Task Current() { return Ok(new { CurrentAnnouncement = new Dictionary() { ["Message"] = ":3", ["MoreInfoUrl"] = "" }, InstagramImages = new List(), Videos = new List(), }); } } }