On Fri, Feb 7, 2014 at 6:18 AM, appengineuser <[email protected]> wrote:
> I guess this is more of a google drive api question. I'm trying to
> transfer ownership of a file to someone else and change my own permission
> to read only.
>
> What is the correct way to use permission api? The way I did it: 1)
> getting permissionId from getIdForEmail 2) in the patch body I have {
> 'role': 'reader'}
>
> I have tried everything I can think of. But I keep getting 400 error. Is
> it because one cannot change his own file's permission to read only??
>
When you're setting permissions, are you using the demonstration APIs
Explorer at
https://developers.google.com/drive/v2/reference/permissions/patch or are
you writing the code yourself? If you are writing the code yourself, can
you supply any error text that came along with the 400 error?
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL
App Engine Code Samples: http://www.learntogoogleit.com
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.