portier/source/config/urls.py

25 lines
1.4 KiB
Python
Raw Permalink Normal View History

2020-04-15 20:29:59 +02:00
from django.urls import path
2024-04-01 16:27:31 +02:00
from config.views import restream, stream, pull
from config.views.srs import callback_srs
2020-04-15 20:29:59 +02:00
app_name = 'config'
2020-04-15 20:29:59 +02:00
urlpatterns = [
path('srs/callback', callback_srs, name='callback_srs'),
path('streams/', stream.StreamList.as_view(), name='stream_list'),
path('streams/<int:pk>/', stream.StreamDetail.as_view(), name='stream_detail'),
path('streams/<int:pk>/change', stream.StreamChange.as_view(), name='stream_change'),
path('streams/<int:pk>/delete', stream.StreamDelete.as_view(), name='stream_delete'),
path('streams/create', stream.StreamCreate.as_view(), name='stream_create'),
path('restream/', restream.RestreamList.as_view(), name='restream_list'),
path('restream/<int:pk>/', restream.RestreamDetail.as_view(), name='restream_detail'),
path('restream/<int:pk>/change', restream.RestreamUpdate.as_view(), name='restream_change'),
path('restream/<int:pk>/delete', restream.RestreamDelete.as_view(), name='restream_delete'),
path('restream/create', restream.RestreamCreate.as_view(), name='restream_create'),
2024-04-01 16:27:31 +02:00
path('pull/', pull.PullList.as_view(), name='pull_list'),
path('pull/<int:pk>/', pull.PullDetail.as_view(), name='pull_detail'),
path('pull/<int:pk>/change', pull.PullUpdate.as_view(), name='pull_change'),
path('pull/<int:pk>/delete', pull.PullDelete.as_view(), name='pull_delete'),
path('pull/create', pull.PullCreate.as_view(), name='pull_create'),
2020-04-15 20:29:59 +02:00
]