我得到收件箱的文件夹id如下:
https://graph.microsoft.com/v1.0/me/mailFolders/Inbox
收件箱有一个名为Test的子文件夹,在它下面是Test1, Test2下面是Test2
我怎么能使一个调用图形api得到测试的子文件夹细节?我试过了:
https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/Test
但是会给出错误:
"Resource not found for the segment 'Test'.",
可以调用/childFolders
获取指定文件夹下的文件夹集合
https://graph.microsoft.com/v1.0/me/mailfolders/inbox/childFolders/{test_folder_id}/childFolders
要获取Test文件夹的id,调用
https://graph.microsoft.com/v1.0/me/mailfolders/inbox/childFolders
资源:
列表childFolders