无法对附件查询使用过滤器? [英] Cannot use filter on attachments query?

查看:45
本文介绍了无法对附件查询使用过滤器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从此处学习:列表附件使用查询参数

当我呼叫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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆