Can folders be shared using the Google Drive API?

0

I am building an Add-in in which I want to visualize some folders that I have in Google Drive, these folders contain documents + folders and .PDF files etc.

Inside my Add-in I already have the embedded code that I generate when I publish a folder or document to the web, and that works, any changes that I add to the documents in Drive, are reflected in my Add-in , but what I have not achieved is to make a list of folders can be shared with other users from my Addin. It should be noted that although the folders are copied with everything and their hyperlinks, I do not want to take me to the drive page because users do not have Google accounts and their company policies have limited or blocked websites, such as Google Drive.

There is something within the documentation of the Google Drive API that allows me to show the folders in my application and these in turn can be shared.

    
asked by Mayra Delgado 30.05.2018 в 15:38
source

1 answer

0

Short answer

Yes, it is possible to share folders

Extended response

Google Drive handles files and folders differently from other tools such as FTP, Microsoft OneDrive, Dropbox, among others, so programmers interested in them should assess how they are accustomed to the way of working of other tools and if necessary, spend time studying the Google Drive API model as well as the end-user applications of the Google Drive platform and Google accounts.

In the Google Drive API files and folders are handled with the file class. I emphasize,

  

folders are handled with the class file .

Access to files and folders is determined by access control lists (ACLs). For more information, please read the references.

References

answered by 02.06.2018 в 20:55