merge: testing → main (reconcile 2-week divergence)
This commit is contained in:
18
decnet/web/router/webhooks/__init__.py
Normal file
18
decnet/web/router/webhooks/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Webhook subscription CRUD.
|
||||
|
||||
Admin-gated management of external-egress webhook subscriptions. The
|
||||
actual delivery happens in the `decnet webhook` worker, which watches
|
||||
the DB + bus and POSTs matching events out. This module is the API
|
||||
surface operators use to configure destinations.
|
||||
|
||||
Mounted under `/api/v1/webhooks` by the main api router.
|
||||
"""
|
||||
from fastapi import APIRouter
|
||||
|
||||
from .api_manage_webhooks import router as manage_webhooks_router
|
||||
from .api_test_webhook import router as test_webhook_router
|
||||
|
||||
webhooks_router = APIRouter(prefix="/webhooks")
|
||||
|
||||
webhooks_router.include_router(manage_webhooks_router)
|
||||
webhooks_router.include_router(test_webhook_router)
|
||||
Reference in New Issue
Block a user