from django.urls import path
from .views import (
    StatusCreateView,
    StatusFeedView,
    MyStatusListView,
    StatusDetailView,
    StatusDeleteView,
    MarkStatusViewedView,
    StatusViewersListView,
    AllStatusListView,
)

app_name = 'status'

urlpatterns = [
    # Create Status
    path('create/', StatusCreateView.as_view(), name='status-create'),
    
    # List Status
    path('feed/', StatusFeedView.as_view(), name='status-feed'),
    path('my-status/', MyStatusListView.as_view(), name='my-status'),
    path('all/', AllStatusListView.as_view(), name='all-status'),
    
    # Single Status Operations
    path('<int:status_id>/', StatusDetailView.as_view(), name='status-detail'),
    path('<int:status_id>/delete/', StatusDeleteView.as_view(), name='status-delete'),
    
    # Status Engagement
    path('<int:status_id>/view/', MarkStatusViewedView.as_view(), name='status-view'),
    path('<int:status_id>/viewers/', StatusViewersListView.as_view(), name='status-viewers'),
]