Dominevo
ReferenceHTTP API

recordingOnboard

The recordingOnboard router: 3 methods of the recording-onboard capability, with tier, scope, input and output.

Capability recording-onboard · scope device · mode singleton · source packages/types/src/capabilities/recording-onboard.cap.ts:359.

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

MethodKindTierToken scopeViewer
getStatusqueryprotectedviewyes
getOptionsqueryprotectedviewyes
setSettingsmutationadminadmin onlyno

recordingOnboard.getStatus

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

Input

{ deviceId: number }

Output

RecordingOnboardStatusSchema

Shapes: RecordingOnboardStatusSchema

recordingOnboard.getOptions

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

Input

{ deviceId: number }

Output

RecordingOnboardOptionsSchema

Shapes: RecordingOnboardOptionsSchema

recordingOnboard.setSettings

  • Kind: mutation — POST /trpc/recordingOnboard.setSettings
  • 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=recordingOnboard.setSettings on your hub

Input

{ deviceId: number; settings: RecordingOnboardPatchSchema }

Output

void

Shapes: RecordingOnboardPatchSchema