deviceExport
The deviceExport router: 14 methods of the device-export capability, with tier, scope, input and output.
Capability device-export · scope system · mode collection · source packages/types/src/capabilities/device-export.cap.ts:224.
Every method is called at /trpc/deviceExport.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getStatus | query | protected | view | no |
getDeviceSettingsContribution | query | protected | view | no |
getDeviceLiveContribution | query | protected | view | no |
applyDeviceSettingsPatch | mutation | admin | admin only | no |
listInstances | query | protected | view | no |
listSupportedDeviceKinds | query | protected | view | no |
listExposedDevices | query | protected | view | no |
exposeDevice | mutation | admin | admin only | no |
unexposeDevice | mutation | admin | admin only | no |
setExposedName | mutation | admin | admin only | no |
listSupportedEntityKinds | query | protected | view | no |
listExposedEntities | query | protected | view | no |
exposeEntity | mutation | admin | admin only | no |
unexposeEntity | mutation | admin | admin only | no |
deviceExport.getStatus
- Kind: query —
GET /trpc/deviceExport.getStatus - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.getStatuson your hub
Input
DeviceExportInstancePinSchemaOutput
DeviceExportStatusSchemaShapes: DeviceExportInstancePinSchema · DeviceExportStatusSchema
deviceExport.getDeviceSettingsContribution
- Kind: query —
GET /trpc/deviceExport.getDeviceSettingsContribution(added by the framework) - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.getDeviceSettingsContributionon your hub
Input
{ deviceId: number }Output
{ tabs?: ({ id: string; label: string; icon: string; order?: number })[]; sections: ({ id: string; title: string; description?: string; style?: "card" | "accordion"; defaultCollapsed?: boolean; columns?: 1 | 2 | 3 | 4; tab?: string; location?: "settings" | "top-tab" | "hero"; order?: number; fields: any[] })[] } | nulldeviceExport.getDeviceLiveContribution
- Kind: query —
GET /trpc/deviceExport.getDeviceLiveContribution(added by the framework) - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.getDeviceLiveContributionon your hub
Input
{ deviceId: number }Output
{ tabs?: ({ id: string; label: string; icon: string; order?: number })[]; sections: ({ id: string; title: string; description?: string; style?: "card" | "accordion"; defaultCollapsed?: boolean; columns?: 1 | 2 | 3 | 4; tab?: string; location?: "settings" | "top-tab" | "hero"; order?: number; fields: any[] })[] } | nulldeviceExport.applyDeviceSettingsPatch
- Kind: mutation —
POST /trpc/deviceExport.applyDeviceSettingsPatch(added by the framework) - 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=deviceExport.applyDeviceSettingsPatchon your hub
Input
{ deviceId: number; patch: Record<string, unknown> }Output
{ success: true }deviceExport.listInstances
- Kind: query —
GET /trpc/deviceExport.listInstances - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.listInstanceson your hub
Input
voidOutput
ExportInstanceSchema[]Shapes: ExportInstanceSchema
deviceExport.listSupportedDeviceKinds
- Kind: query —
GET /trpc/deviceExport.listSupportedDeviceKinds - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.listSupportedDeviceKindson your hub
Input
DeviceExportInstancePinSchemaOutput
string[]Shapes: DeviceExportInstancePinSchema
deviceExport.listExposedDevices
- Kind: query —
GET /trpc/deviceExport.listExposedDevices - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.listExposedDeviceson your hub
Input
DeviceExportInstancePinSchemaOutput
ExposedDeviceSchema[]Shapes: DeviceExportInstancePinSchema · ExposedDeviceSchema
deviceExport.exposeDevice
- Kind: mutation —
POST /trpc/deviceExport.exposeDevice - 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=deviceExport.exposeDeviceon your hub
Input
DeviceExportExposeInputSchemaOutput
voidShapes: DeviceExportExposeInputSchema
deviceExport.unexposeDevice
- Kind: mutation —
POST /trpc/deviceExport.unexposeDevice - 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=deviceExport.unexposeDeviceon your hub
Input
DeviceExportUnexposeInputSchemaOutput
voidShapes: DeviceExportUnexposeInputSchema
deviceExport.setExposedName
- Kind: mutation —
POST /trpc/deviceExport.setExposedName - 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=deviceExport.setExposedNameon your hub
Input
DeviceExportSetExposedNameInputSchemaOutput
voidShapes: DeviceExportSetExposedNameInputSchema
deviceExport.listSupportedEntityKinds
- Kind: query —
GET /trpc/deviceExport.listSupportedEntityKinds - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.listSupportedEntityKindson your hub
Input
voidOutput
ExportEntityKindSchema[]Shapes: ExportEntityKindSchema
deviceExport.listExposedEntities
- Kind: query —
GET /trpc/deviceExport.listExposedEntities - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-export, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceExport.listExposedEntitieson your hub
Input
DeviceExportInstancePinSchemaOutput
ExposedEntitySchema[]Shapes: DeviceExportInstancePinSchema · ExposedEntitySchema
deviceExport.exposeEntity
- Kind: mutation —
POST /trpc/deviceExport.exposeEntity - 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=deviceExport.exposeEntityon your hub
Input
ExposeEntityInputSchemaOutput
voidShapes: ExposeEntityInputSchema
deviceExport.unexposeEntity
- Kind: mutation —
POST /trpc/deviceExport.unexposeEntity - 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=deviceExport.unexposeEntityon your hub
Input
UnexposeEntityInputSchemaOutput
voidShapes: UnexposeEntityInputSchema