Do a command on the data manager.
The command to do.
Call options for the command.
const dataManager = new VIAM.DataManagerClient(
machine,
'my_data_manager'
);
await dataManager.doCommand(new Struct({ cmd: 'test', data1: 500 }));
For more information, see Data Manager API.
Sync data stored on the machine to the cloud.
Extra arguments to pass to the sync request.
Call options for the sync request.
const dataManager = new VIAM.DataManagerClient(
machine,
'my_data_manager'
);
await dataManager.sync();
For more information, see Data Manager API.
Uploads binary data to specified datasets.
The binary data to upload.
Tags to associate with the binary data.
IDs of the datasets to associate the binary data with.
The MIME type of the binary data.
Extra arguments to pass to the upload request.
Call options for the upload request.
The name of the resource.