Dominevo
ReferenceHTTP API

vibration

The vibration router: 1 method of the vibration capability, with tier, scope, input and output.

Capability vibration · scope device · mode singleton · source packages/types/src/capabilities/vibration.cap.ts:18.

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

MethodKindTierToken scopeViewer
getStatusqueryprotectedviewyes

vibration.getStatus

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

Input

{ deviceId: number }

Output

VibrationStatusSchema

Shapes: VibrationStatusSchema