Dominevo
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.

MethodKindTierToken scopeViewer
listRetentionKnobsqueryadminadmin onlyno

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.listRetentionKnobs on your hub

Input

{ deviceId?: number }

Output

RetentionKnobSchema[]

Shapes: RetentionKnobSchema