ee.data.getAssetRoots

Stay organized with collections Save and categorize content based on your preferences.

Returns the list of the root folders the user owns. The "id" values for roots are two levels deep, e.g. "users/johndoe" not "users/johndoe/notaroot".

UsageReturns
ee.data.getAssetRoots(callback)List
ArgumentTypeDetails
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.