Dominevo
ReferenceHTTP API

resync

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

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

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

MethodKindTierToken scopeViewer
resyncmutationadminadmin onlyno

resync.resync

  • Kind: mutation — POST /trpc/resync.resync
  • 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=resync.resync on your hub

Input

ResyncDeviceInputSchema

Output

{ changed: boolean; rebuiltChildren: number; removedChildren?: number }

Shapes: ResyncDeviceInputSchema

On this page