funkwhale/api/funkwhale_api/moderation/urls.py

10 wiersze
270 B
Python

from funkwhale_api.common import routers
from . import views
router = routers.OptionalSlashRouter()
router.register(r"content-filters", views.UserFilterViewSet, "content-filters")
router.register(r"reports", views.ReportsViewSet, "reports")
urlpatterns = router.urls