docs: function(action, options, data) {
        options = opts(this, options);
  
        var method = options.method || 'GET';
  
        var args = {
          action: action,
          type: method,
          options: options
        };
  
        if (options.query) {
          args.query = options.query;
          delete args.options.query;
        }
  
        if (data !== undefined) {
          args.data = JSON.stringify(data);
        }
  
        return new APICall(args);
      }