Upload files to "routes/API"
This commit is contained in:
34
routes/API/CommunityBoard.cs
Normal file
34
routes/API/CommunityBoard.cs
Normal 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 = []
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user