Files & Drive
indexDrive
Index Drive
Index a connected drive on one of the user's machines: the MachineSync daemon scans it on-device in tiers (metadata → light → deep) and pushes a lightweight per-file index up, so the drive stays…
Arguments
machineIdstringoptionalWhich machine the drive is plugged into (machineId from listMachines). Omit only when exactly one machine is active.namestringoptionalOptional label for the drivepathstringrequiredMount path of the drive to scan, e.g. /Volumes/LaCietierstringoptionalMax scan depth (progressive). metadata = fast names/sizes; light = + cheap text; deep = + PDF/audio text. Defaults to deep.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- index my drive
- scan the LaCie
- catalog this drive
- remember what's on this disk
Pair it with
The verbs that finish the job.