code: function (method, path, parameters) {
      if (path && !parameters) {
        parameters = path;
        path = null;
      }
  
      path = normalizePath(path);
      if (!path) {
        this.handlers[method] = parameters;
        this.exportHandler(method, null, parameters);
        return;
      }
  
      var child = this.children[path];
      if (!child) {
        child = this.api(path);
      }
      child.addHandler(method, null, parameters);
    }
docs: Add a new request handler to this API resource (or to a sub-resource).