When I use https://www.googleapis.com/upload/drive/v3/files without uploadType=resumable I receive back a JSON containing the file id. So this is ideal for creating folders.
If I want to add a file > 5MB I have to use resumable and I receive a upload URL for use with PUT.
Presently I am performing a list of the folder by specifying the file name and folder id and then pick the one with the latest date.
The documentation refers to querying the location URL but I can not find any examples to whether this returns the file id.
Can anybody explain how to get the file id easily.
Regards Conwyn
but I can not find any examples to whether this returns the file id., can you provide your current script for replicating your issue? - Tanaike