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