1

对于我使用 API 请求的任何评论(甚至是文档中的示例),该selfLink字段都缺失:

 { 
 "kind": "drive#comment",
 "commentId": "AAAAAF8FAJI",
 "createdDate": "2013-05-08T12:59:49.090Z",
 "modifiedDate": "2013-05-08T12:59:49.090Z",
 "author": {
  "kind": "drive#user",
  "displayName": "XXX",
  "picture": {
   "url": "//photo.jpg"
  },
  "isAuthenticatedUser": false
 },
 "htmlContent": "XXXX",
 "deleted": false,
 "status": "open",
 "context": {
  "type": "text/html",
  "value": "Some context"
 },
 "anchor": "kix.5hi345vj8mn5",
 "fileId": "sP98Rdx5lB7nbcNL6XD6msg",
 "fileTitle": "XXXX",
 "replies": [
 ]
}

然而它记录在这里:https ://developers.google.com/drive/v2/reference/comments

4

0 回答 0