<filename>assignment/api/urls.py
from django.urls import path
from api.views import ReceiveHash, CheckStatus


urlpatterns = [
    # path('test/', TestView.as_view(), name='test'),
    path('create/', ReceiveHash.as_view(), name='receive_url'),
    # path('status/', CheckStatus.as_view(), name='check_status'), ------> deprecated
    # path('upload/', upload, name='upload'), -----> deprecated
    # path('download/<slug:hash>/', download, name='download'), ----------> deprecated
    path('status/<slug:hash>/', CheckStatus.as_view(), name='send_archive'),
]
