微软图形

编程入门 行业动态 更新时间:2024-10-25 15:37:16
微软图形 - outlook邮件 - 列出所有邮件文件夹(不只是顶级的邮件文件夹)?(Microsoft graph - outlook mail - list all mail folders (not just the top level ones)?)

目前,据我所知,Microsoft图根据https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/message提供了2个用于Outlook邮件文件夹的主要端点

List mail folders和List child folders - 意味着只需在仪表板应用程序中构建文件夹层次结构,我需要进行递归REST API调用 - 这非常缓慢且非常糟糕。

有没有办法让微软一次返回所有文件夹?

Currently, as far as I can tell, Microsoft graph offers 2 primary endpoints for outlook mail folders according to https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/message

List mail folders and List child folders - meaning just to build the folder hierarchy in my dashboard app, I need to make recursive REST API calls - which is very slow and very bad.

Is there any way to get microsoft to just return all folders at once?

最满意答案

不,没有。 您应该检查每个文件夹上的childFolderCount属性,并且只查询是否为非零。

No there isn't. You should check the childFolderCount property on each folder and only query if non-zero.

更多推荐

本文发布于:2023-08-06 14:27:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1451266.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:微软   图形

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!