from django.urls import path

from .views import (
    BatchView,
    HealthView,
    ImageUploadView,
    JobDetailView,
    OperationsView,
    ProcessView,
    SessionStatesView,
    StateCombineView,
    StateDetailView,
    StateHistogramView,
    StateOperationView,
)


urlpatterns = [
    path("health/", HealthView.as_view(), name="health"),
    path("images/", ImageUploadView.as_view(), name="image-upload"),
    path("operations/", OperationsView.as_view(), name="operations"),
    path("sessions/<uuid:session_id>/states/", SessionStatesView.as_view(), name="session-states"),
    path("states/<uuid:state_id>/", StateDetailView.as_view(), name="state-detail"),
    path("states/<uuid:state_id>/operations/", StateOperationView.as_view(), name="state-operation"),
    path("states/<uuid:state_id>/histogram/", StateHistogramView.as_view(), name="state-histogram"),
    path("states/combine/", StateCombineView.as_view(), name="state-combine"),
    path("process/", ProcessView.as_view(), name="process"),
    path("batch/", BatchView.as_view(), name="batch"),
    path("jobs/<uuid:job_id>/", JobDetailView.as_view(), name="job-detail"),
]
