ReferenceHTTP API
retentionSource
The retentionSource router: 1 method of the retention-source capability, with tier, scope, input and output.
Capability retention-source · scope system · mode collection · source packages/types/src/capabilities/retention-source.cap.ts:79.
Every method is called at /trpc/retentionSource.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
listRetentionKnobs | query | admin | admin only | no |
retentionSource.listRetentionKnobs
- Kind: query —
GET /trpc/retentionSource.listRetentionKnobs - 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=retentionSource.listRetentionKnobson your hub
Input
{ deviceId?: number }Output
RetentionKnobSchema[]Shapes: RetentionKnobSchema