我可以在https://developers.google.com/google-apps/documents-list/v2/developers_guide_protocol找到插入仅元数据文件所需的 API 调用,但这是 v2。v3 的等效页面不显示等效信息。
有人知道这是否从 v2 更改为 v3,还是相同的格式?
POST /feeds/folders/private/full/folder%3Afolder_id HTTP/1.1
Host: docs.google.com
Authorization: <your authorization header here>
Content-Length: 292
Content-Type: application/atom+xml
<?xml version='1.0' encoding='UTF-8'?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom">
<atom:category scheme="http://schemas.google.com/g/2005#kind"
term="http://schemas.google.com/docs/2007#presentation" label="presentation"/>
<atom:title>new preso</atom:title>
</atom:entry>