ReferenceHTTP API
networkLink
The networkLink router: 1 method of the network-link capability, with tier, scope, input and output.
Capability network-link · scope device · mode singleton · source packages/types/src/capabilities/network-link.cap.ts:92.
Every method is called at /trpc/networkLink.<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 |
|---|---|---|---|---|
getStatus | query | protected | view | yes |
networkLink.getStatus
- Kind: query —
GET /trpc/networkLink.getStatus(added by the framework) - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitynetwork-link, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=networkLink.getStatuson your hub
Input
{ deviceId: number }Output
NetworkLinkStatusSchemaShapes: NetworkLinkStatusSchema