Dominevo
ReferenceHTTP API

recordingExport

The recordingExport router: 7 methods of the recording-export capability, with tier, scope, input and output.

Capability recording-export · scope system · mode singleton · source packages/types/src/capabilities/recording-export.cap.ts:534.

Every method is called at /trpc/recordingExport.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
createExportmutationprotectedcreateyes
listExportsqueryprotectedviewyes
getExportqueryprotectedviewyes
cancelExportmutationprotectedcreateyes
deleteExportmutationprotecteddeleteyes
getDownloadUrlqueryprotectedviewyes
readExportBytesqueryprotectedviewno

recordingExport.createExport

  • Kind: mutation — POST /trpc/recordingExport.createExport
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability recording-export, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=recordingExport.createExport on your hub

Input

{ deviceId: number; profile?: string; profiles?: string[]; fromMs?: number; toMs?: number; subject?: ExportSubjectSchema; options: ExportOptionsSchema }

Output

ExportRecordSchema

Shapes: ExportSubjectSchema · ExportOptionsSchema · ExportRecordSchema

recordingExport.listExports

  • Kind: query — GET /trpc/recordingExport.listExports
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability recording-export, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=recordingExport.listExports on your hub

Input

{ deviceId?: number }

Output

ExportRecordSchema[]

Shapes: ExportRecordSchema

recordingExport.getExport

  • Kind: query — GET /trpc/recordingExport.getExport
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability recording-export, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=recordingExport.getExport on your hub

Input

{ exportId: string }

Output

ExportRecordSchema

Shapes: ExportRecordSchema

recordingExport.cancelExport

  • Kind: mutation — POST /trpc/recordingExport.cancelExport
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability recording-export, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=recordingExport.cancelExport on your hub

Input

{ exportId: string }

Output

ExportRecordSchema

Shapes: ExportRecordSchema

recordingExport.deleteExport

  • Kind: mutation — POST /trpc/recordingExport.deleteExport
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: delete on capability recording-export, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=recordingExport.deleteExport on your hub

Input

{ exportId: string }

Output

ExportRecordSchema

Shapes: ExportRecordSchema

recordingExport.getDownloadUrl

  • Kind: query — GET /trpc/recordingExport.getDownloadUrl
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability recording-export, or category system
  • Viewer: yes
  • Try it: open /system/api-explorer?method=recordingExport.getDownloadUrl on your hub

Input

{ exportId: string }

Output

ExportDownloadSchema

Shapes: ExportDownloadSchema

recordingExport.readExportBytes

  • Kind: query — GET /trpc/recordingExport.readExportBytes
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability recording-export, or category system
  • Viewer: no
  • Try it: open /system/api-explorer?method=recordingExport.readExportBytes on your hub

Input

{ exportId: string }

Output

ExportBytesSchema

Shapes: ExportBytesSchema