35 lines
2.1 KiB
Plaintext
Raw Normal View History

2019-08-31 20:51:14 -07:00
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
# serveAsset action requires a path string
GET / controllers.Application.index(path="index.html")
GET /admin controllers.Application.healthcheck()
GET /config controllers.Application.appConfig()
# Routes used exclusively by the React application.
# Authentication in React
GET /authenticate react.controllers.AuthenticationController.authenticate()
POST /logIn react.controllers.AuthenticationController.logIn()
GET /callback/oidc @org.pac4j.play.CallbackController.callback()
POST /callback/oidc @org.pac4j.play.CallbackController.callback()
GET /logOut controllers.CentralLogoutController.executeLogout()
# Data fetching in React
POST /api/v2/graphql react.controllers.GraphQLController.execute()
2019-08-31 20:51:14 -07:00
2019-09-05 10:53:26 -07:00
GET /api/*path controllers.Application.apiNotFound(path)
POST /api/*path controllers.Application.apiNotFound(path)
2019-08-31 20:51:14 -07:00
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)
# Analytics route
POST /track react.controllers.TrackingController.track()
2019-08-31 20:51:14 -07:00
# Wildcard route accepts any routes and delegates to serveAsset which in turn serves the Ember client
GET /*path controllers.Application.index(path)