The resources responsible for creating and managing device containers routes
-
netField.devices.containers.routes.getAll(deviceId, [callback])
-
netField.devices.containers.routes.create(deviceId, params, [callback])
-
netField.devices.containers.routes.update(routeId, deviceId, params, [callback])
-
netField.devices.containers.routes.delete(routeId, deviceId, [callback])
Get information about specific device container route
/**
* @param {string} deviceId
* @param {string} routeId
* @param {function} callback optional
*/
netField.devices.containers.routes.get(deviceId, routeId, [callback])
Gets all device container routes
/**
* @param {string} deviceId
* @param {function} callback optional
*/
netField.devices.containers.routes.getAll(deviceId, [callback])
Adds a device container route to device
/**
* @param {string} deviceId
* @param {any} params
* @param {function} callback optional
*/
netField.devices.containers.routes.create(deviceId, params, [callback])
Updates values of a device container route form device
/**
* @param {string} routeId
* @param {string} deviceId
* @param {any} params
* @param {function} callback optional
*/
netField.devices.containers.routes.update(routeId, deviceId, params, [callback])
Delete device container route from a device
/**
* @param {string} routeId
* @param {string} deviceId
* @param {function} callback optional
*/
netField.devices.containers.routes.delete(routeId, deviceId, [callback])