Issue 710 in gdata-python-client: Trying to change permissions of file with gdata api

4 views
Skip to first unread message

gdata-pyt...@googlecode.com

unread,
Oct 28, 2014, 10:50:13 PM10/28/14
to gdata-python-client-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 710 by Eduplane...@gmail.com: Trying to change permissions of
file with gdata api
https://code.google.com/p/gdata-python-client/issues/detail?id=710

>>> scope = gdata.docs.Scope(type='default')
>>> role = gdata.docs.Role(value='writer')
>>> acl_entry = gdata.docs.DocumentListAclEntry(scope=scope, role=role)
>>> created_acl_entry = gd_client.Post(acl_entry, entry.GetAclLink().href,
>>> converter=gdata.docs.DocumentListAclEntryFromString)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>

File "/opt/virtualenv/sled4/lib/python2.7/site-packages/gdata/service.py",
line 1236, in Post
media_source=media_source, converter=converter)

File "/opt/virtualenv/sled4/lib/python2.7/site-packages/gdata/service.py",
line 1358, in PostOrPut
'reason': server_response.reason, 'body': result_body}
gdata.service.RequestError: {'status': 400, 'body': 'This operation is not
supported in this request version.', 'reason': 'Bad Request'}



is this a version issue?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gdata-pyt...@googlecode.com

unread,
Dec 30, 2014, 3:34:45 PM12/30/14
to gdata-python-client-...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 710 by afs...@google.com: Trying to change permissions
You should really be using the Drive API. Documents List API is long (2
years) deprecated [1]. Sorry this won't be fixed.

[1]
http://googleappsdeveloper.blogspot.com/2012/09/retiring-google-documents-list-api-v3.html
Reply all
Reply to author
Forward
0 new messages