Cloud Storage Integrator 2016 Node.js Edition
Cloud Storage Integrator 2016 Node.js Edition
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) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 Node.js Edition - Version 16.0 [Build 7239]