Dominevo
ReferenceHTTP API

osdManager

The osdManager router: 12 methods of the osd-manager capability, with tier, scope, input and output.

Capability osd-manager · scope system · mode singleton · source packages/types/src/capabilities/osd-manager.cap.ts:149.

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

MethodKindTierToken scopeViewer
getDeviceOsdqueryadminadmin onlyno
getConditionSupportqueryadminadmin onlyno
setSlotBindingmutationadminadmin onlyno
clearSlotBindingmutationadminadmin onlyno
setSlotCameraEnabledmutationadminadmin onlyno
copyDeviceConfigurationmutationadminadmin onlyno
previewSlotmutationadminadmin onlyno
previewTemplatemutationadminadmin onlyno
renderDevicemutationadminadmin onlyno
listTemplatesqueryadminadmin onlyno
upsertTemplatemutationadminadmin onlyno
deleteTemplatemutationadminadmin onlyno

osdManager.getDeviceOsd

  • Kind: query — GET /trpc/osdManager.getDeviceOsd
  • 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=osdManager.getDeviceOsd on your hub

Input

{ deviceId: number }

Output

{ supported: boolean; slots: OsdSlotViewSchema[] }

Shapes: OsdSlotViewSchema

osdManager.getConditionSupport

  • Kind: query — GET /trpc/osdManager.getConditionSupport
  • 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=osdManager.getConditionSupport on your hub

Input

{}

Output

{ supported: string[]; catalog: NcConditionDescriptorSchema[] }

Shapes: NcConditionDescriptorSchema

osdManager.setSlotBinding

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

Input

{ deviceId: number; slotId: string; binding: OsdSlotBindingSchema }

Output

{ slot: OsdSlotViewSchema; render: OsdRenderResultSchema }

Shapes: OsdSlotBindingSchema · OsdSlotViewSchema · OsdRenderResultSchema

osdManager.clearSlotBinding

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

Input

{ deviceId: number; slotId: string }

Output

{ success: true }

osdManager.setSlotCameraEnabled

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

Input

{ deviceId: number; slotId: string; enabled: boolean }

Output

{ success: true }

osdManager.copyDeviceConfiguration

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

Input

{ sourceDeviceId: number; targetDeviceId: number }

Output

{ copied: number; skipped: number }

osdManager.previewSlot

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

Input

{ deviceId: number; slotId: string; binding?: OsdSlotBindingSchema }

Output

OsdRenderResultSchema

Shapes: OsdSlotBindingSchema · OsdRenderResultSchema

osdManager.previewTemplate

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

Input

{ deviceId: number; text: string }

Output

OsdTemplatePreviewSchema

Shapes: OsdTemplatePreviewSchema

osdManager.renderDevice

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

Input

{ deviceId: number }

Output

{ results: OsdRenderResultSchema[] }

Shapes: OsdRenderResultSchema

osdManager.listTemplates

  • Kind: query — GET /trpc/osdManager.listTemplates
  • 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=osdManager.listTemplates on your hub

Input

{}

Output

{ templates: OsdNamedTemplateSchema[] }

Shapes: OsdNamedTemplateSchema

osdManager.upsertTemplate

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

Input

{ template: OsdNamedTemplateSchema }

Output

{ template: OsdNamedTemplateSchema }

Shapes: OsdNamedTemplateSchema

osdManager.deleteTemplate

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

Input

{ templateId: string }

Output

{ success: true }