Dominevo
ReferenceHTTP API

streamCatalog

The streamCatalog router: 1 method of the stream-catalog capability, with tier, scope, input and output.

Capability stream-catalog · scope device · mode singleton · source packages/types/src/capabilities/stream-catalog.cap.ts:104.

Every method is called at /trpc/streamCatalog.<method> — queries with GET, mutations with POST. See How to call and Authorization. Device methods take deviceId in their input.

MethodKindTierToken scopeViewer
getCatalogqueryprotectedviewyes

streamCatalog.getCatalog

  • Kind: query — GET /trpc/streamCatalog.getCatalog
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability stream-catalog, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=streamCatalog.getCatalog on your hub

Input

{ deviceId: number }

Output

CamStreamDescriptorSchema[]

Shapes: CamStreamDescriptorSchema