videoclips
The videoclips router: 7 methods of the videoclips capability, with tier, scope, input and output.
Capability videoclips · scope device · mode collection · source packages/types/src/capabilities/videoclips.cap.ts:771.
Every method is called at /trpc/videoclips.<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 |
|---|---|---|---|---|
listClips | query | protected | view | yes |
listSources | query | protected | view | yes |
getClipPlayback | query | protected | view | yes |
readClipBytes | query | protected | view | yes |
offerClipBytes | query | protected | view | yes |
dialClipStream | query | protected | view | yes |
getPlaybackOptions | query | protected | view | yes |
videoclips.listClips
- Kind: query —
GET /trpc/videoclips.listClips - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.listClipson your hub
Input
{ deviceId: number; since: number; until: number; limit?: number; provider: string }Output
ClipSchema[]Shapes: ClipSchema
videoclips.listSources
- Kind: query —
GET /trpc/videoclips.listSources - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.listSourceson your hub
Input
{ deviceId: number }Output
ClipSourceSchema[]Shapes: ClipSourceSchema
videoclips.getClipPlayback
- Kind: query —
GET /trpc/videoclips.getClipPlayback - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.getClipPlaybackon your hub
Input
{ deviceId: number; clipId: string; profile?: CamProfileSchema }Output
ClipPlaybackSchemaShapes: CamProfileSchema · ClipPlaybackSchema
videoclips.readClipBytes
- Kind: query —
GET /trpc/videoclips.readClipBytes - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.readClipByteson your hub
Input
{ deviceId: number; clipId: string; provider: string; profile?: CamProfileSchema; maxBytes?: number; wake?: ClipWakeSchema }Output
ClipBytesSchemaShapes: CamProfileSchema · ClipWakeSchema · ClipBytesSchema
videoclips.offerClipBytes
- Kind: query —
GET /trpc/videoclips.offerClipBytes - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.offerClipByteson your hub
Input
{ deviceId: number; clipId: string; provider: string; profile?: CamProfileSchema; maxBytes?: number; wake?: ClipWakeSchema }Output
ClipBytesOfferSchemaShapes: CamProfileSchema · ClipWakeSchema · ClipBytesOfferSchema
videoclips.dialClipStream
- Kind: query —
GET /trpc/videoclips.dialClipStream - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.dialClipStreamon your hub
Input
{ deviceId: number; clipId: string; provider: string; profile?: CamProfileSchema; audio?: ClipStreamAudioSchema; wake?: ClipWakeSchema }Output
ClipStreamDialSchemaShapes: CamProfileSchema · ClipStreamAudioSchema · ClipWakeSchema · ClipStreamDialSchema
videoclips.getPlaybackOptions
- Kind: query —
GET /trpc/videoclips.getPlaybackOptions - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilityvideoclips, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=videoclips.getPlaybackOptionson your hub
Input
{ deviceId: number; provider: string }Output
ClipPlaybackOptionsSchemaShapes: ClipPlaybackOptionsSchema