from funkwhale_api.common import routers

from . import views

router = routers.OptionalSlashRouter()

router.register(r"sessions", views.V2_RadioSessionViewSet, "sessions")
router.register(r"radios", views.RadioViewSet, "radios")
router.register(r"tracks", views.V1_RadioSessionTrackViewSet, "tracks")

urlpatterns = router.urls
