Join BoxWorks in San Francisco Nov 12-13! Keynotes, product demos, and Box Master Classes. Reserve your spot!

Query on uploading new file version using Box Node SDK function

Answered
New post

Comments

1 comment

  • jmoldow_box

    For uploading the initial file, you use

     

        uploadFile(parentFolderID, filename, content, callback)

     

    That callback is "called with data about the upload if successful, or an error if the upload failed".

     

    If the upload is successful, that data will look like the data in the example response given at https://docs.box.com/reference#upload-a-file . From there, you can retrieve the file id.

    0
    Comment actions Permalink

Please sign in to leave a comment.