Search code examples
google-apigoogle-drive-apigoogle-api-clientgoogle-drive-realtime-apigoogle-drive-shared-drive

Google Drive API (REST) - Get download, files views and so on....?? (Is it possible??)


This is documentation which I'm using - https://developers.google.com/drive/api/v3/search-parameters

Does anyone know the way of getting through Google Drive API, the number of times the file was downloaded, views(ideal views by whom)...

I could not find any way of doing this.


Solution

  • Google drive files are denoted by a file resource this contains all the information that you have access to about the file. Only some of the information you are after is available

    createdTime datetime The time at which the file was created (RFC 3339 date-time). writable

    modifiedTime datetime The last time the file was modified by anyone (RFC 3339 date-time). Note that setting modifiedTime will also update modifiedByMeTime for the user.

    lastModifyingUser nested object The last user to modify the file.

    You can see who last changed the file but you cant see who has seen the file or any information about how many times it was downloaded.