The REST API manages notification channels of every kind, and the api/webhooks routes are removed #156
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#156
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The channels need an API, and the owner chose to remove
api/webhooksat once instead of keeping a deprecated adapter.What changes
src/dotnet/src/Ninlil.Web/Controllers/NotificationChannelsController.csatapi/notification-channels, shaped likeWebhooksController(WebhooksController.cs:38-458):kind, database-sideSearchAsync/CountAsync), get, create, put, patch, deleteGET {id}/deliveries(paged, likedelivery-attemptsat line 416)POST {id}/test(callsSendTestAsync, returns the outcome)GET event-types(the names inNotificationEventCatalog, so the console stops hard-coding them)notifications:read/notifications:write;PermissionsControllerfinds them by reflection (PermissionsController.cs:13)http/httpsTargetUrl; e-mail fields must be empty. Credentials and the signing secret are handled and shown once, as today.MaxDeliveryAttemptsabove 2 returns 400 (Q-PN-8).NotificationEventCatalog.IsDeliverable; templates passNotificationTemplateRenderer.Validate.api/webhooks(R2-WEBHOOKS): deletesrc/dotnet/src/Ninlil.Web/Controllers/WebhooksController.cs, its models (Models/WebhookModels.cs), its examples (Examples/Webhooks/) and their tests insrc/dotnet/tests/Ninlil.Web.Tests(for exampleWebhookCrudTests.cs), moving any test that still covers live behaviour to the new controller.Models/andExamples/NotificationChannels/.Unreleased:api/webhooksis removed andapi/notification-channelsreplaces it.Acceptance
Create_EmailChannelWithThreeAttempts_Returns400insrc/dotnet/tests/Ninlil.Web.Tests.event-typeslists the catalog;GET api/webhooksreturns 404; permission tests for both permissions.dotnet test src/dotnet/tests/Ninlil.Web.Tests.Source
audit-feature-parity.md§2A #12.Owner decision 2026-10-31: Q-PN-7 (unified channels), Q-PN-8 (best-effort mail).
Owner decision 2026-10-31, round 2 (R2-WEBHOOKS): "api/webhooks: REMOVE NOW, no deprecated alias".