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.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getCatalog | query | protected | view | yes |
streamCatalog.getCatalog
- Kind: query —
GET /trpc/streamCatalog.getCatalog - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitystream-catalog, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=streamCatalog.getCatalogon your hub
Input
{ deviceId: number }Output
CamStreamDescriptorSchema[]Shapes: CamStreamDescriptorSchema