1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-21 22:09:36 +02:00

feat: add Immich integration module with API endpoints and admin interface

This commit is contained in:
Sean Morley 2024-12-31 10:38:15 -05:00
parent 79db20a903
commit dc89743569
12 changed files with 148 additions and 2 deletions

View 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
]