Closed GoogleCodeExporter closed 8 years ago
Note that in the documentation you link to above, and in this documentation
below, that the parents parameter is not a list of parent ids, but instead is a
list of objects, and each object contains a parent id.
body = {
'title': title,
'description': description,
'mimeType': mime_type,
'parents' = [{'id': parent_id}]
}
See the Python code on this page:
https://developers.google.com/drive/v2/reference/files/insert
Original comment by jcgregorio@google.com
on 22 Aug 2013 at 10:30
I'd still like to request that the packaged documentation be corrected
according to the above.
I'd also suggest that Google update their documentation styles to allow for new
types "listofscalars" and "listofobjects" to give the developer more of a hint
than simply "list", in the event that there are no relevant examples. However,
this isn't the right forum for that.
Original comment by myselfasunder@gmail.com
on 22 Aug 2013 at 8:29
Original issue reported on code.google.com by
myselfasunder@gmail.com
on 22 Aug 2013 at 2:39