按 lastModifiedDatetime 过滤 Onedrive 项目
Filtering Onedrive items by lastModifiedDatetime
我尝试通过 lastModifiedDatetime 属性.
从 Microsoft Graph 端点中过滤 OneDrive 项目
类似的东西:
https://graph.microsoft.com/beta/me/drive/special/photos/children?$top=3&$orderBy=lastModifiedDatetime
没用。
返回的错误是:
"message": "The request is not supported by the system."
但是根据文档 (https://dev.onedrive.com/odata/optional-query-parameters.htm#optional-odata-query-parameters)
oderby : Comma-separated list of properties that are used to sort the order of items in the response collection. Works for name, size, and lastModifiedDateTime fields.
顺便说一句,我尝试使用名称 属性 进行排序,它实际上按预期工作:
https://graph.microsoft.com/beta/me/drive/special/photos/children?$top=3&$orderBy=lastModifiedDatetime
您能否确认图表 api 端点不允许按 lastModifiedDateTime 排序?
OneDrive for Business 不支持按 lastModifiedDateTime 筛选。 OneDrive 个人版支持它。该限制并非特定于 Microsoft Graph 终结点。在参考文档页面中有关于它的注释。
我尝试通过 lastModifiedDatetime 属性.
从 Microsoft Graph 端点中过滤 OneDrive 项目类似的东西:
https://graph.microsoft.com/beta/me/drive/special/photos/children?$top=3&$orderBy=lastModifiedDatetime
没用。 返回的错误是:
"message": "The request is not supported by the system."
但是根据文档 (https://dev.onedrive.com/odata/optional-query-parameters.htm#optional-odata-query-parameters)
oderby : Comma-separated list of properties that are used to sort the order of items in the response collection. Works for name, size, and lastModifiedDateTime fields.
顺便说一句,我尝试使用名称 属性 进行排序,它实际上按预期工作:
https://graph.microsoft.com/beta/me/drive/special/photos/children?$top=3&$orderBy=lastModifiedDatetime
您能否确认图表 api 端点不允许按 lastModifiedDateTime 排序?
OneDrive for Business 不支持按 lastModifiedDateTime 筛选。 OneDrive 个人版支持它。该限制并非特定于 Microsoft Graph 终结点。在参考文档页面中有关于它的注释。