ReferenceHTTP API
addonWidgetsSource
The addonWidgetsSource router: 1 method of the addon-widgets-source capability, with tier, scope, input and output.
Capability addon-widgets-source · scope system · mode collection · source packages/types/src/capabilities/addon-widgets-source.cap.ts:142.
Every method is called at /trpc/addonWidgetsSource.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
listWidgets | query | admin | admin only | no |
addonWidgetsSource.listWidgets
- Kind: query —
GET /trpc/addonWidgetsSource.listWidgets - 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=addonWidgetsSource.listWidgetson your hub
Input
voidOutput
WidgetMetadataSchema[]Shapes: WidgetMetadataSchema