mirror of
https://github.com/FunnyWolf/agentic-soc-platform.git
synced 2026-08-22 13:12:56 +02:00
17 lines
449 B
Python
17 lines
449 B
Python
from django.urls import path, include
|
|
from rest_framework.routers import DefaultRouter
|
|
|
|
from .views import AttachmentDownloadView, AttachmentViewSet
|
|
|
|
router = DefaultRouter()
|
|
router.register("attachments", AttachmentViewSet, basename="attachment")
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"attachments/<uuid:access_key>/download/",
|
|
AttachmentDownloadView.as_view(),
|
|
name="attachment-download",
|
|
),
|
|
path("", include(router.urls)),
|
|
]
|