waxwing/app/api/routes.py
pyr0ball c81fa3a93a feat: add Plex integration, update knowledge API and config
- Add app/api/endpoints/plex.py with Plex webhook receiver (fail-closed on missing secret)
- Add app/services/plex/ with Plex API client and gardening content filter
- Wire plex router into routes.py at /plex prefix
- Add Plex + cf-video config vars to app/core/config.py and .env.example
- Rename /knowledge/ingest endpoint to /knowledge/glean (pipeline verb alignment)
- Update tests to use /knowledge/glean endpoint
- Add python-multipart to environment.yml for form/webhook body parsing
- Add dev/dev-stop/dev-logs commands to manage.sh (hot-reload without Docker)
- Fix frontend/tsconfig.node.json to extend tsconfig.json (not tsconfig.node.json)
- Add .dev-pids/ to .gitignore
- Add frontend/package-lock.json
2026-07-11 22:38:37 -07:00

11 lines
608 B
Python

from fastapi import APIRouter
from app.api.endpoints import health, plants, locations, grow_events, knowledge, plex
api_router = APIRouter()
api_router.include_router(health.router, tags=["health"])
api_router.include_router(plants.router, prefix="/plants", tags=["plants"])
api_router.include_router(locations.router, prefix="/locations", tags=["locations"])
api_router.include_router(grow_events.router, prefix="/grow-events", tags=["grow-events"])
api_router.include_router(knowledge.router, prefix="/knowledge", tags=["knowledge"])
api_router.include_router(plex.router, prefix="/plex", tags=["plex"])