跑道过滤项目方法响应缺失文件详情

Podio Filter item method response missing files details

在 nodejs 中,我试图通过使用 FilterItems 过滤跑道数据,它工作正常但没有提供文件属性。我可以获得文件数,但我需要上传文件的详细信息。这是我的示例代码

var Podio = require('podio-js').api;
var podio = new Podio({
                    authType: 'server',
                    clientId: 'XXXXX',
                    clientSecret:'*****************'
                });
podio.authenticateWithApp('XXXXX', 'YYYYYYYYYYYYYY', function(err) {
      podio.request('POST', '/item/app/XXXXX/filter', {
           "filters":  { "email":'sample@gmail.com'}
      }).then(function(responseData) {
              console.log(responseData);
      }).catch(function(e) {
              console.log(e);
      });
});

为了解决这个问题,我通过使用 Item-id(我从过滤器调用中收到)进行了一次调用 Get Item

我的问题是为什么过滤器方法没有提供文件详细信息,无论是它在 podio 过滤器调用中的错误还是有任何特定原因。也请提出更好的方法。

注意:在我的场景中,我应该只使用过滤器功能;

您可以通过使用 fields 参数捆绑响应来获取其他字段(包括文件)。此处描述:https://developers.podio.com/index/api

样本:

// Include files when getting filtered items
/item/app/{app_id}/filter/?fields=items.fields(files)