✨ Global wide channels api
This commit is contained in:
@ -12,6 +12,9 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
quick.Post("/:channelId/reply/:eventId", quickReply)
|
||||
}
|
||||
|
||||
api.Get("/channels/me", listOwnedChannelGlobalWide)
|
||||
api.Get("/channels/me/available", listAvailableChannelGlobalWide)
|
||||
|
||||
channels := api.Group("/channels/:realm").Use(realmMiddleware).Name("Channels API")
|
||||
{
|
||||
channels.Get("/", listChannel)
|
||||
|
Reference in New Issue
Block a user