グラフデルタAPIを使用して、ドライブの特定のフォルダの変更を追跡したいと考えています。特定のフォルダのドキュメントのMicrosoftグラフデルタAPI?
ドキュメントには、ルートドライブでデルタ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呼び出しで間違いは何ですか?
をこれは正しいですが、私はそれが仕事をした場合は、 'https://graph.microsoft.com/v1のように見えるURLをヒットしたいだろうともして呼ぶことにします。 0/users/userid/drive/root:/添付ファイル:/ delta' – Brad