MS Graph API 增量查询,扩展和嵌套选择参数不能一起工作 [英] MS Graph APIs delta query with expand and nested select parameters not working together
问题描述
带有 $expand 和嵌套 $select 参数的 MS Graph API 增量查询在消息中不能一起使用.
MS Graph APIs delta query with $expand and nested $select parameters not working together in messages.
https://graph.microsoft.com/v1.0/me/MailFolders/Inbox/messages/delta?$expand=attachments($select=name,size)
https://graph.microsoft.com/v1.0/me/MailFolders/Inbox/messages/delta?$expand=attachments($select=name,size)
此请求将返回附件中的所有属性,而不管所选属性如何,但相同的查询在以下请求中按预期工作,没有 delta 查询.
This request returns all properties in attachments irrespective of selected properties but the same query is working as expected with below request without delta query.
https://graph.microsoft.com/v1.0/me/MailFolders/Inbox/messages?$expand=attachments($select=name,size)
https://graph.microsoft.com/v1.0/me/MailFolders/Inbox/messages?$expand=attachments($select=name,size)
推荐答案
我们不支持 Delta Query 中的$expand",如下所述:https://developer.microsoft.com/en-us/graph/docs/concepts/delta_query_overview
We don't support '$expand' in Delta Query, as described here : https://developer.microsoft.com/en-us/graph/docs/concepts/delta_query_overview
这篇关于MS Graph API 增量查询,扩展和嵌套选择参数不能一起工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!