gpt4 book ai didi

microsoft-graph-api - SharePoint 列表项上的 Orderby 不起作用

转载 作者:行者123 更新时间:2023-12-04 02:00:43 25 4
gpt4 key购买 nike

我正在尝试使用 Microsoft Graph 对列表项的集合进行排序:

.../items?select=id&orderby=id%20desc

我尝试了多个属性并使用空格代替 %20。我关注了 documentation .

但 id 总是按升序排列的。我做错了什么还是 Microsoft Graph 的错误?

最佳答案

SharePoint endpoints 当前不支持 $orderby 参数.目前仅支持 $select$expand$filter

我建议访问 UserVoice并添加对此功能的请求。在提取 ListItem 资源集合时,它似乎很有值(value)。


顺便说一句,您还缺少 $ 前缀:

items?$select=id&$orderby=id desc

忽略 $ 前缀仅在 beta 端点上受支持。根据 documentation :

Note: On the beta endpoint, the $ prefix is optional.

关于microsoft-graph-api - SharePoint 列表项上的 Orderby 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47475991/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com