function scan(req, res) {
    if (req.body.scan === 'on') {
      lanManager.scan();
    } else {
      lanManager.stop();
    }

    res.json(lanManager.getStatus());
  }
@api {post} /api/v1/service/lan-manager/discover Start LAN device discovering
@apiName scan
@apiGroup LANManager