Google Drive api scope and file access (drive vs drive.files)
问题 I have created two refresh tokens for me: one for SCOPE = 'https://www.googleapis.com/auth/drive' and another SCOPE = 'https://www.googleapis.com/auth/drive.file' I'm trying to get information about files (using get method) Some files I can get when using SCOPE drive.files , and some only when using wider scope drive But I can not figure out what is the reason for that? Files are located in different folders but have one shared root folder. 回答1: The difference is that 'drive.file' only gives