2017-10-11 52 views
0

我想使用圖形增量API來跟蹤驅動器特定文件夾中的更改。針對特定文件夾的文檔的Microsoft圖形增量api?

文檔提供了在根驅動器上使用增量API的示例。

當我試圖使用相同的API從「附件」文件夾中獲取我的文檔時,它提供了一個錯誤。

我的要求APIhttps://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調用的錯誤?

回答

相關問題