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.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
resync | mutation | admin | admin only | no |
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.resyncon your hub
Input
ResyncDeviceInputSchemaOutput
{ changed: boolean; rebuiltChildren: number; removedChildren?: number }Shapes: ResyncDeviceInputSchema