/info endpoint (#85)
This commit is contained in:
parent
c3ea45d900
commit
e2d9de191d
11 changed files with 200 additions and 36 deletions
|
|
@ -215,6 +215,9 @@ func registerAPIRoutes(a *echo.Group) {
|
|||
a.POST("/user/password/reset", apiv1.UserResetPassword)
|
||||
a.POST("/user/confirm", apiv1.UserConfirmEmail)
|
||||
|
||||
// Info endpoint
|
||||
a.GET("/info", apiv1.Info)
|
||||
|
||||
// ===== Routes with Authetification =====
|
||||
// Authetification
|
||||
a.Use(middleware.JWT([]byte(config.ServiceJWTSecret.GetString())))
|
||||
|
|
|
|||
Reference in a new issue