获取文件和文件夹的图标 [英] get icons for files and folders
本文介绍了获取文件和文件夹的图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
现在正在搜索一天,什么也看不到.我想让文件和文件夹的图标处于当前状态.
been searching for a day now and can't see anything. I'd like to get the icons for the files and folders in their current state.
我希望有这样的东西:
http://api.gogole.com/gdrive-sdk/icons/{$file_id}.png
或在列出文件后返回的item数组[]中具有图标的链接.
or to have a link to the icon in the items array[] returned from listing the files.
任何帮助表示赞赏, daithi
any help appreciated, daithi
推荐答案
文件元数据中包含每个文件的缩略图.检查thumbnailLink
属性:
A thumbnail for each file is included in the file metadata. Check the thumbnailLink
property:
https://developers.google.com/drive/v2/reference/files
这篇关于获取文件和文件夹的图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文