Google Drive Files.list API query with name is case insensitive

Hi,

I am  trying to execute Files.list api from Google Drive APIs as mentioned here: https://developers.google.com/drive/api/v3/reference/files/list?apix_params=%7B%22q%22%3A%22name%20c...

My primary use case is to get all the files which have file name equal to a particular word. For example,  I want to list all the files which have name as "portfolio".

For this, I used q as name = 'portfolio' for making the API call. What I observed is that, this API call  returns all the files with name 'portfolio' irrespective of the case.

For example, if I have three files, namely, 'portfolio', 'Portfolio' and 'portFolio', then the expectation is as per the documentation that I should only get the details of file with name 'portfolio'. But in reality, I get details of all the three files, which means that query for 'name =' is case insensitive. How can I get case sensitive search?

Can someone help me in this issue?

0 0 988
0 REPLIES 0
Top Labels in this Space
Top Solution Authors