ReferenceHTTP API
notificationOutput
The notificationOutput router: 5 methods of the notification-output capability, with tier, scope, input and output.
Capability notification-output · scope system · mode collection · source packages/types/src/capabilities/notification-output.cap.ts:478.
Every method is called at /trpc/notificationOutput.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
listTargetKinds | query | protected | view | no |
discoverTargets | query | admin | admin only | no |
probeTargetConfig | mutation | admin | admin only | no |
send | mutation | admin | admin only | no |
testTarget | mutation | admin | admin only | no |
notificationOutput.listTargetKinds
- Kind: query —
GET /trpc/notificationOutput.listTargetKinds - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitynotification-output, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=notificationOutput.listTargetKindson your hub
Input
{}Output
TargetKindSchema[]Shapes: TargetKindSchema
notificationOutput.discoverTargets
- Kind: query —
GET /trpc/notificationOutput.discoverTargets - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=notificationOutput.discoverTargetson your hub
Input
{ kind: string; config?: Record<string, unknown>; targetId?: string }Output
DiscoveredTargetSchema[]Shapes: DiscoveredTargetSchema
notificationOutput.probeTargetConfig
- Kind: mutation —
POST /trpc/notificationOutput.probeTargetConfig - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=notificationOutput.probeTargetConfigon your hub
Input
{ kind: string; config: Record<string, unknown>; targetId?: string }Output
ProbeTargetConfigResultSchemaShapes: ProbeTargetConfigResultSchema
notificationOutput.send
- Kind: mutation —
POST /trpc/notificationOutput.send - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=notificationOutput.sendon your hub
Input
{ targetId: string; notification: NotificationSchema }Output
SendResultSchemaShapes: NotificationSchema · SendResultSchema
notificationOutput.testTarget
- Kind: mutation —
POST /trpc/notificationOutput.testTarget - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=notificationOutput.testTargeton your hub
Input
{ targetId: string; sample?: NotificationSchema }Output
SendResultSchemaShapes: NotificationSchema · SendResultSchema