Welcome to the new Box Support website. Check out all the details here on what’s changed.

how to access a file anonymously via the api?

New post

Comments

2 comments

  • mwaschkowski

    Hi,

     

    Anyone have any ideas, didn't think this would be hard...

     

    Thanks,

     

    Mark

    0
    Comment actions Permalink
  • kendomen

    This should work:

     

    client.sharedItems.get(
        '',
        null,
        null,
        function(err, data) {
            console.log("file:");
            console.log(JSON.stringify(data));
            console.log("err:" + err);
    });
    0
    Comment actions Permalink

Please sign in to leave a comment.