无法对附件查询使用过滤器? [英] Cannot use filter on attachments query?
问题描述
当我呼叫v1.0/me/messages/{message id}/attachments/?$filter=isInline eq true
时.
它同时返回内联和非内联.
When I call v1.0/me/messages/{message id}/attachments/?$filter=isInline eq true
.
It returns both inline and not inline.
当我呼叫v1.0/me/messages/{message id}/attachments/?$filter=size gt 15000
时.
它返回所有尺寸的附件,例如14000.
When I call v1.0/me/messages/{message id}/attachments/?$filter=size gt 15000
.
It returns attachments with all sizes, included for example 14000.
它只是忽略了过滤器参数...
It just ignores the filter parameter...
这是正确的吗?文档对此无能为力.
Is this correct? Documentation says nothing about that.
是否有另一种方法可以通过一个查询仅获取内联附件?
Is there another way to get only the inline attachments with one query?
推荐答案
/attachments
端点存在一个已知的错误,会影响对$filter
子句的支持.
There is a known bug with the /attachments
endpoint affecting support the $filter
clause.
您可以在GitHub上跟踪此问题的状态.我还在这里添加了对您问题的参考.
You can track the status of this issue at GitHub. I've also added a reference to your question here.
这篇关于无法对附件查询使用过滤器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!