Upload files to "routes/API"

This commit is contained in:
2026-07-24 15:43:44 +00:00
parent 0c5ff5671b
commit 718f112747
5 changed files with 248 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
using Stella.Models;
namespace Stella.Routes.API
{
public class GetCommunityBoard
{
[ServerAPI.GET("/api/communityboard/v1/current")]
[ServerAPI.UseAuthorization]
public dynamic ReturnGetCommunityBoard()
{
return new CommunityBoardDTO
{
CurrentAnnouncement = new CommunityBoardAnnouncementDTO
{
Message = "Welcome to Stella!!!!!11!!!1!1",
MoreInfoUrl = ""
},
FeaturedPlayer = new CommunityBoardFeaturedPlayerData
{
Id = 1,
TitleOverride = "bxt",
UrlOverride = ""
},
FeaturedRoomGroup = new FeaturedRoomGroupDTO
{
FeaturedRooms = [],
Name = "stella"
},
InstagramImages = [],
Videos = []
};
}
}
}