Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

ResourceList Event

Fired for each resource listed.

Syntax

dropbox.on('ResourceList', [callback])

Callback

The 'callback' is called when the 'ResourceList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.path
e.name
e.id
e.modifiedDate
e.revision
e.size
e.resourceType

Remarks

This event fires with information about each resource listed when calling ListResources, GetResourceInfo, and Search.

Path is the absolute path to the resource.

Name is the name of the resource.

Id is the Id of the resource.

ModifiedDate is the modified date of the resource.

Revision is the revision of the file.

Size is the size of the file in bytes.

ResourceType indicates whether the resource is a file or folder. Possible value are:

0File
1Folder

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0