from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import (
    TasksViewSet, 
    ImagesViewSet, 
    ContentViewSet,
    ContentTaxonomyViewSet,
    # ContentAttributeViewSet,  # Disabled - serializer removed in Stage 1
)

router = DefaultRouter()
router.register(r'tasks', TasksViewSet, basename='task')
router.register(r'images', ImagesViewSet, basename='image')
router.register(r'content', ContentViewSet, basename='content')
router.register(r'taxonomies', ContentTaxonomyViewSet, basename='taxonomy')
# router.register(r'attributes', ContentAttributeViewSet, basename='attribute')  # Disabled - serializer removed in Stage 1

urlpatterns = [
    path('', include(router.urls)),
]

