Reputation: 89
I am trying to get all folders under a google drive folder using parent folder id
using below api
content.googleapis.com/drive/v3/files/
passing parent id in request body
am able to create files and folders under parent id, but when try to get folder list in parent folder its giving me error as bad request
Note: I am using postman tool
Upvotes: 1
Views: 1643
Reputation: 26796
'1234567' in parents
, not parents=1234567
In your case, the correct syntax would be something like
https://www.googleapis.com/drive/v3/files?q=%2710oCPwjGlp8ArZGP0nk2jnvztniaCRdH4%27%20in%20parents
Upvotes: 2