API endpoints that are only enabled if we have a premium token with the :audit-app feature. These live under /api/ee/audit-app/. Feature-flagging for these routes happens in [[metabase-enterprise.api.routes/routes]].

(ns metabase-enterprise.audit-app.api.routes
  (:require
   [compojure.core :as compojure]
   [metabase-enterprise.audit-app.api.user :as user]
   [metabase.api.routes.common :refer [+auth]]))

Ring routes for mt API endpoints.

(compojure/defroutes  routes
  (compojure/context "/user" [] (+auth user/routes)))