code: function getFormIds(req, res, next) {
    var params = {
      appId: req.params.projectid || req.params.id
    };
  
    forms.getAppFormsForApp(_.extend(req.connectionOptions, params), function(err, appFormResult) {
      if (err) {
        return next(err);
      }
  
      //Only Want The Form Ids
      req.appformsResultPayload = {
        data: _.map(_.compact(appFormResult.forms), function(form) {
          return form._id.toString();
        }),
        type: constants.resultTypes.formProjects
      };
  
      next();
    });
  }
docs: Getting Form Ids Only Associated With A Project
  @param req
  @param res
  @param next