from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import TranscriptionTaskViewSet, tingwu_callback

router = DefaultRouter()
router.register(r'transcriptions', TranscriptionTaskViewSet)

urlpatterns = [
    path('callback/', tingwu_callback, name='tingwu-callback'),
    path('', include(router.urls)),
]
