# 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 controllers.AuthenticationController.authenticate() POST /logIn controllers.AuthenticationController.logIn() GET /callback/:protocol controllers.SsoCallbackController.handleCallback(protocol: String) POST /callback/:protocol controllers.SsoCallbackController.handleCallback(protocol: String) GET /logOut controllers.CentralLogoutController.executeLogout() # Proxies API requests to the metadata service api GET /api/*path controllers.Application.proxy(path) POST /api/*path controllers.Application.proxy(path) DELETE /api/*path controllers.Application.proxy(path) PUT /api/*path controllers.Application.proxy(path) # 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 controllers.TrackingController.track() # Wildcard route accepts any routes and delegates to serveAsset which in turn serves the React Bundle GET /*path controllers.Application.index(path)