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

ResourceList Event

Fired for each resource listed.

Syntax

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

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.deleted
e.ETag
e.id
e.name
e.revision
e.resourceType

Remarks

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

Deleted indicates whether the resource is deleted.

ETag is the ETag of the resource.

Id is the resource Id.

Name is the name of the resource.

Revision is the current revision.

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

0File
1Folder

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