question

darwindeeds avatar image
darwindeeds asked

What is the default root id? or How to get the root node id?

I'm trying to get the list of files and folders in the root using https://cdws.us-east-1.amazonaws.com/drive/v1/nodes/{id}/children Can you please help me identify the root folder's id? I looked through the documentation and couldn't find anything related to it.
amazon drive
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

darwindeeds avatar image
darwindeeds answered
Nevermind, I found the answer, I was able to call the url with nodes/?filters=isRoot:true to get the root folder id
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.