Add homepage-integration API endpoint

New GET /api/v1/homepage-integration endpoint exposes library stats
(totalEntries, library, libraryMovies, librarySeries, watchlist,
watchlistMovies, watchlistSeries, collections, favorits).
This commit is contained in:
X4Lo committed 2026-06-30 23:58:26 +01:00
1 parent ec9498cac0
commit 63aca7e7b8
4 files changed
+106 -34

No files matched your search

@@ -0,0 +1,8 @@
const express = require("express");
const homepageIntegrationRouter = express.Router();
const homepageIntegrationController = require("../controllers/homepageIntegrationController");
homepageIntegrationRouter.get("/", homepageIntegrationController.getStats);
module.exports = homepageIntegrationRouter;