graph共享root api无法返回超过200个项目

问题描述 投票:0回答:1

我尝试获取共享共享点文件夹中的所有项目。 目前我正在使用:

"https://graph.microsoft.com/v1.0/shares/u!{folder}=/root?expand=children"

回应:

"children": [] // max 200 items
"folder": {
   "childCount": 216
},

我想获得全部 216 件物品。 我试过了

  • &$top=999(仍然是 200)
  • &$count=true(此端点不支持)
  • &$skipTopen(在响应中找不到@odata.nextLink)

我错过了什么吗?

sharepoint microsoft-graph-api onedrive
1个回答
0
投票

我会尝试直接访问儿童

GET /v1.0/shares/u!{folder}=/root/children

对于许多端点,

$expand
不会返回所有项目

© www.soinside.com 2019 - 2024. All rights reserved.