server/admin/api/router.go
Pierre-Olivier Mercier f0377f5f5d
Some checks failed
continuous-integration/drone/tag Build is failing
admin: Able to export an archive for static publication
2024-04-19 11:49:00 +02:00

30 lines
771 B
Go

package api
import (
"github.com/gin-gonic/gin"
)
func DeclareRoutes(router *gin.RouterGroup) {
apiRoutes := router.Group("/api")
declareCertificateRoutes(apiRoutes)
declareClaimsRoutes(apiRoutes)
declareEventsRoutes(apiRoutes)
declareExercicesRoutes(apiRoutes)
declareExportRoutes(apiRoutes)
declareFilesGlobalRoutes(apiRoutes)
declareFilesRoutes(apiRoutes)
declareGlobalExercicesRoutes(apiRoutes)
declareHealthRoutes(apiRoutes)
declareMonitorRoutes(apiRoutes)
declarePasswordRoutes(apiRoutes)
declarePublicRoutes(apiRoutes)
declareQARoutes(apiRoutes)
declareRepositoriesRoutes(apiRoutes)
declareTeamsRoutes(apiRoutes)
declareThemesRoutes(apiRoutes)
declareSettingsRoutes(apiRoutes)
declareSyncRoutes(apiRoutes)
DeclareVersionRoutes(apiRoutes)
}