Add asset restriction webhook API

This commit is contained in:
2023-02-10 22:04:01 +00:00
parent aa227c53ac
commit c283c6c192
5 changed files with 28 additions and 3 deletions

View File

@@ -74,6 +74,11 @@ urlpatterns = [
path(
f"{settings.HOOK_PATH}/<str:hook_name>/", hooks.HookAPI.as_view(), name="hook"
),
path(
f"{settings.ASSET_PATH}/<str:webhook_id>/",
assets.AssetRestrictionAPI.as_view(),
name="asset",
),
path("signals/<str:type>/", signals.SignalList.as_view(), name="signals"),
path(
"signals/<str:type>/create/",