【问题标题】:Getting information about a suggestion from a suggestion ID in Google Docs API从 Google Docs API 中的建议 ID 获取有关建议的信息
【发布时间】:2020-09-02 04:36:08
【问题描述】:

我目前正在使用documents.get API方法来检索带有内联建议的文档,返回如下:

{
   "startIndex": 108,
   "endIndex": 159,
   "textRun": {
     "content": "This is some content that I have suggested to insert",
     "suggestedInsertionIds": [
        "suggest.fakesuggestionId123"
     ],
     "textStyle": {}
    }
}

我想检索有关此建议的信息(即谁编写了它以及何时编写),但我看不到任何可以查询建议的InsertionId 值的端点。有没有办法在 Drive 或 Docs API 中检索此信息(导出到 docx 之外)?

【问题讨论】:

    标签: get google-drive-api google-docs-api


    【解决方案1】:

    目前无法通过 API 获得此信息

    通过Comments:get 可用于 cmets,但不可用于建议。 在Public Issue Tracker 上有一个相关的feature request。

    您可以“加注星标”或对其发表评论以提高知名度。

    【讨论】:

      猜你喜欢
      • 2020-07-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多