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.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getDeviceOsd | query | admin | admin only | no |
getConditionSupport | query | admin | admin only | no |
setSlotBinding | mutation | admin | admin only | no |
clearSlotBinding | mutation | admin | admin only | no |
setSlotCameraEnabled | mutation | admin | admin only | no |
copyDeviceConfiguration | mutation | admin | admin only | no |
previewSlot | mutation | admin | admin only | no |
previewTemplate | mutation | admin | admin only | no |
renderDevice | mutation | admin | admin only | no |
listTemplates | query | admin | admin only | no |
upsertTemplate | mutation | admin | admin only | no |
deleteTemplate | mutation | admin | admin only | no |
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.getDeviceOsdon 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.getConditionSupporton 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.setSlotBindingon 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.clearSlotBindingon 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.setSlotCameraEnabledon 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.copyDeviceConfigurationon 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.previewSloton your hub
Input
{ deviceId: number; slotId: string; binding?: OsdSlotBindingSchema }Output
OsdRenderResultSchemaShapes: 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.previewTemplateon your hub
Input
{ deviceId: number; text: string }Output
OsdTemplatePreviewSchemaShapes: 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.renderDeviceon 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.listTemplateson 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.upsertTemplateon 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.deleteTemplateon your hub
Input
{ templateId: string }Output
{ success: true }