Dominevo
ReferenceHTTP API

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.

MethodKindTierToken scopeViewer
listClipsqueryprotectedviewyes
listSourcesqueryprotectedviewyes
getClipPlaybackqueryprotectedviewyes
readClipBytesqueryprotectedviewyes
offerClipBytesqueryprotectedviewyes
dialClipStreamqueryprotectedviewyes
getPlaybackOptionsqueryprotectedviewyes

videoclips.listClips

  • Kind: query — GET /trpc/videoclips.listClips
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability videoclips, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=videoclips.listClips on 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: view on capability videoclips, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=videoclips.listSources on 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: view on capability videoclips, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=videoclips.getClipPlayback on your hub

Input

{ deviceId: number; clipId: string; profile?: CamProfileSchema }

Output

ClipPlaybackSchema

Shapes: CamProfileSchema · ClipPlaybackSchema

videoclips.readClipBytes

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

Input

{ deviceId: number; clipId: string; provider: string; profile?: CamProfileSchema; maxBytes?: number; wake?: ClipWakeSchema }

Output

ClipBytesSchema

Shapes: CamProfileSchema · ClipWakeSchema · ClipBytesSchema

videoclips.offerClipBytes

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

Input

{ deviceId: number; clipId: string; provider: string; profile?: CamProfileSchema; maxBytes?: number; wake?: ClipWakeSchema }

Output

ClipBytesOfferSchema

Shapes: CamProfileSchema · ClipWakeSchema · ClipBytesOfferSchema

videoclips.dialClipStream

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

Input

{ deviceId: number; clipId: string; provider: string; profile?: CamProfileSchema; audio?: ClipStreamAudioSchema; wake?: ClipWakeSchema }

Output

ClipStreamDialSchema

Shapes: 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: view on capability videoclips, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=videoclips.getPlaybackOptions on your hub

Input

{ deviceId: number; provider: string }

Output

ClipPlaybackOptionsSchema

Shapes: ClipPlaybackOptionsSchema