ReferenceHTTP API
apps
The apps router: 2 methods of the apps capability, with tier, scope, input and output.
Capability apps · scope system · mode singleton · source packages/types/src/capabilities/apps.cap.ts:25.
Every method is called at /trpc/apps.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
listApps | query | protected | view | yes |
getNavBadges | query | protected | view | yes |
apps.listApps
- Kind: query —
GET /trpc/apps.listApps - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityapps, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=apps.listAppson your hub
Input
{}Output
AppInfoSchema[]Shapes: AppInfoSchema
apps.getNavBadges
- Kind: query —
GET /trpc/apps.getNavBadges - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityapps, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=apps.getNavBadgeson your hub
Input
{ appId: string }Output
Record<string, AppNavBadgeSchema>Shapes: AppNavBadgeSchema