Dominevo
ReferenceHTTP API

groupActive

The groupActive router: 1 method of the group-active capability, with tier, scope, input and output.

Capability group-active · scope device · mode singleton · source packages/types/src/capabilities/group-active.cap.ts:25.

Every method is called at /trpc/groupActive.<method> — queries with GET, mutations with POST. See How to call and Authorization. Device methods take deviceId in their input.

MethodKindTierToken scopeViewer
getStatusqueryprotectedviewyes

groupActive.getStatus

  • Kind: query — GET /trpc/groupActive.getStatus (added by the framework)
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability group-active, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=groupActive.getStatus on your hub

Input

{ deviceId: number }

Output

GroupActiveSchema

Shapes: GroupActiveSchema