ReferenceHTTP API
deviceAdminLink
The deviceAdminLink router: 1 method of the device-admin-link capability, with tier, scope, input and output.
Capability device-admin-link · scope device · mode singleton · source packages/types/src/capabilities/device-admin-link.cap.ts:108.
Every method is called at /trpc/deviceAdminLink.<method> — queries with GET, mutations with POST. See How to call and Authorization. Device methods take deviceId in their input.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getAdminLink | query | admin | admin only | no |
deviceAdminLink.getAdminLink
- Kind: query —
GET /trpc/deviceAdminLink.getAdminLink - 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=deviceAdminLink.getAdminLinkon your hub
Input
{ deviceId: number }Output
DeviceAdminLinkSchema | nullShapes: DeviceAdminLinkSchema