【发布时间】:2017-10-11 13:01:13
【问题描述】:
我想使用图形增量 API 来跟踪驱动器特定文件夹中的更改。
文档提供了在根驱动器上使用 delta API 的示例。
当我尝试使用相同的 API 从“附件”文件夹中获取我的文档时出现错误。
我的请求 API:https://graph.microsoft.com/v1.0/users/userid/drive/root/delta:/Attachments:/children
错误响应:
{
"error": {
"code": "BadRequest",
"message": "The request URI is not valid. The segment 'delta' must be the last segment in the URI because it is one of the following: $ref, $batch, $count, $value, $metadata, a named media resource, an action, a noncomposable function, an action import, a noncomposable function import, an operation with void return type, or an operation import with void return type.",
"innerError": {
"request-id": "d98d91f1-f131-4d76-89bd-4c980b13f92d",
"date": "2017-10-11T12:55:09"
}
}
}
此 API 调用中的错误是什么?
【问题讨论】:
标签: java spring-boot microsoft-graph-api onedrive