Stefan Oltmann
01/09/2025, 2:25 PMYoussef Shoaib [MOD]
01/09/2025, 2:29 PMthanksforallthefish
01/09/2025, 2:35 PMThis method accepts the q parameter
with use the trashed=false query parameter
, I suspect they mean q=trashed=false
but an example would help. documentation is hard (and debug useful)Stefan Oltmann
01/09/2025, 2:46 PMq=trashed=false
works.
https://developers.google.com/drive/api/reference/rest/v3/files/list is so confusing, because they call trashed
a "query parameter", but it's not in the list of query parameters. But for the usage of q
there is actually a sample including trashed
.
Google Drive Docs are a mess πStefan Oltmann
01/09/2025, 2:49 PMthanksforallthefish
01/09/2025, 2:50 PMStefan Oltmann
01/09/2025, 2:50 PMYoussef Shoaib [MOD]
01/09/2025, 3:38 PMq=trashed=false
??? Maybe I'm just bad at reading docs, but I wouldn't have guessed that in my wildest dreams. I'm sure there's a "perfectly reasonable" explanation for how that came about, but it's still unintuitiveStefan Oltmann
01/09/2025, 3:59 PMStefan Oltmann
01/09/2025, 3:59 PMKlitos Kyriacou
01/09/2025, 6:51 PMq
query parameter. In the Google Drive API it looks like everything that specifies restrictions on which files to list is a value of the q
parameter.