Reputation: 592
I want to get documents/spreadsheets/presentations alone from drive.I used search query q parameter to get documents based on mimeType, but using this I can able to get only one particular mimetype files.Drive supports two mimetypes for spreadsheets
1.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 2.application/x-vnd.oasis.opendocument.spreadsheet
There is no or operator to form a query.Can anyone help me to get a solution for this?
Upvotes: 1
Views: 224
Reputation: 9213
There is an OR
operator. Use mimeType = 'application/vnd.google-apps.spreadsheet' or mimeType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
to query your files.
Upvotes: 1