IdHub/webhook/urls.py

15 lines
438 B
Python
Raw Normal View History

from webhook import views
from django.urls import path
app_name = 'webhook'
urlpatterns = [
path('verify/', views.webhook_verify, name='verify'),
2024-11-25 19:18:47 +00:00
path('sign/', views.webhook_issue, name='sign'),
path('tokens/', views.WebHookTokenView.as_view(), name='tokens'),
path('tokens/new', views.TokenNewView.as_view(), name='new_token'),
path('tokens/<int:pk>/del', views.TokenDeleteView.as_view(), name='delete_token'),
]