Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Comments

1 comment

  • kendomen

    I'm not sure how to do this but here's an example with search..

     

    var adminAPIClient = sdk.getAppAuthClient('enterprise', ENTERPRISE_ID);
    
    adminAPIClient.search.query(
        'Test',
        {
            fields: 'id,name',
            limit: 200,
            offset: 0
        },
        function (err, data) {
            data.entries.forEach(function(file) {
                console.log(file.id + " " + file.name);
            }, this);
        }
    );
    0
    Comment actions Permalink

Please sign in to leave a comment.