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

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

问题描述

从这里学习:列表附件使用查询参数

当我调用 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天全站免登陆