# # urls.py
# from django.urls import path
# from .views import AttributeScoreView, BatchScoreView

# urlpatterns = [
#     path("attribute_score/", AttributeScoreView.as_view(), name="attribute_score"),
#     path("attribute_score/<str:sku>/", AttributeScoreView.as_view(), name="get_attribute_score"),
#     path("batch_score/", BatchScoreView.as_view(), name="batch_score"),
# ]


# urls.py
"""
URL configuration for the Product Quality Scoring API
"""
from django.urls import path
from core.views import (
    AttributeScoreView,
    BatchScoreView,
    BatchScoreViewV2,
    ContentRulesView,
    ExcelUploadView,
)

urlpatterns = [
    # Single product scoring
    path('api/score/', AttributeScoreView.as_view(), name='score_product'),
    
    path('api/batch-scor-v0/', BatchScoreView.as_view(), name='batch_score'),

    path('api/batch-score/', BatchScoreViewV2.as_view(), name='batch_score'),
    
    path('api/content-rules/', ContentRulesView.as_view(), name='content_rules'),
    
    path('api/upload-rules/', ExcelUploadView.as_view(), name='upload_rules')
]