"""
URL configuration for django-notify-hub REST API.

Include in your project::

    # urls.py
    from django.urls import path, include

    urlpatterns = [
        path("api/notifications/", include("django_notify_hub.api.urls")),
    ]
"""
from django.urls import include, path
from rest_framework.routers import DefaultRouter

from django_notify_hub.api.views import NotificationViewSet

app_name = "django_notify_hub"

router = DefaultRouter()
router.register("", NotificationViewSet, basename="notification")

urlpatterns = [
    path("", include(router.urls)),
]

