Parth Gajjar
Parth Gajjar

Reputation: 1424

Copy Drive File With All Permission

I use this Copy method for copy file.

POST https://www.googleapis.com/drive/v2/files/fileId/copy

But this method copy only files not its permission [means copied file dose not shared with users of old file]

I need to copy files with it's permission.I checked permission list method and permission insert method. But permission insert Method needs email id and permission list method doesn't give email ids.

Is there any other method to do such thing. I use Python httplib2 lib for send http post and get method

Upvotes: 1

Views: 339

Answers (1)

Burcu Dogan
Burcu Dogan

Reputation: 9213

This is impossible for now, the owner need to explicitly share the copied file again. The way we don't expose email addresses on permissions list is a hot topic and something we'll improve soon.

Upvotes: 1

Related Questions