【发布时间】:2013-10-28 17:41:29
【问题描述】:
我试图了解实时 API 资源模型是如何“成形”的,以便使用“get”和“update”功能。不幸的是,文档并没有对此一无所知 (https://developers.google.com/drive/v2/reference/realtime#resource)。
我自己尝试使用文档 (https://developers.google.com/drive/v2/reference/realtime/get#try-it) 中提供的“get”请求,因此我创建了一个新的实时文档(使用 Google Drive Realtime API Playground)和我将 fileId 传递给了“get”请求。 我在响应正文中得到的是一个 base64 内容,其中(一旦解码)数据字段始终为空:
{"appId":"0123456789","revision":1,"data":null}
有什么方法可以让这些 API 正常工作吗?
提前致谢
【问题讨论】:
标签: google-drive-api google-drive-realtime-api