【问题标题】:What are the file types in the file metadata ("exportLinks") in Google drive API?Google drive API 中的文件元数据(“exportLinks”)中有哪些文件类型?
【发布时间】:2013-08-28 21:14:25
【问题描述】:

我正在开发一个名为 google drive api 的包装器,并为驱动器中的 Google 文档检索 exportLinks。我正在尝试编写一个函数来自动识别可用链接并分配给可读的 html href。到目前为止,一些类型的文件是:

  1. 申请/pdf
  2. 应用程序/rtf
  3. application/vnd.oasis.opendocument.text
  4. application/vnd.openxmlformats-officedocument.wordprocessingml.document
  5. 文本/html
  6. 文本/纯文本

我不知道有多少,我想知道在哪里可以找到 Google Drive Api 允许我们下载的所有类型的文件。

谢谢!

【问题讨论】:

    标签: google-api google-drive-api


    【解决方案1】:

    the docs 所示,允许所有可能的 mime 类型。

    Accepted Media MIME types: */*
    
    猜你喜欢
    • 2016-02-01
    • 1970-01-01
    • 2012-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多