API Routes
Beside the pre-defined API endpoints, extensions can bring their own routes as well.
#
Implementing API RouteAuthGuard uses Javalin as its web library. Familiarize yourself with Javalin
route handler to know about them. Once you are ready, you can easily define
you own API routes by implementing the ApiRoute
interface.
The endpoint will be available on the path GET /custom/my/endpoint
.