feat: add Immich integration module with API endpoints and admin interface
This commit is contained in:
12
backend/server/integrations/urls.py
Normal file
12
backend/server/integrations/urls.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from integrations.views import ImmichIntegrationView
|
||||
|
||||
# Create the router and register the ViewSet
|
||||
router = DefaultRouter()
|
||||
router.register(r'immich', ImmichIntegrationView, basename='immich')
|
||||
|
||||
# Include the router URLs
|
||||
urlpatterns = [
|
||||
path("", include(router.urls)), # Includes /immich/ routes
|
||||
]
|
||||
Reference in New Issue
Block a user