The JavaScript example to list files of Google Drive uses gapi.client.drive.files.list()
.
When trying to use this method I get the error "Cannot read property 'files' of undefined".
The issue and a workaround are already described under Google Drive API javascript
Is the documentation under https://developers.google.com/drive/v2/reference/files/list#try-it incorrect? Or is there a way to use the API as described.