How to Use File Staging for Inputs
Bulk creation APIs such as Create Multiple Documents, Create Multiple Object Record Attachments, and Add Multiple Document Renditions require a JSON or CSV input file that includes references to source files on file staging.
To reference files:
- Use the Create Folder or File and Update Folder or File APIs to create, rename, and move subdirectories as desired in your file staging.
- Upload files using either the Create Folder or File API (files up to 50MB) or a Resumable Upload Session (files over 50 MB).
- Add the
filecolumn to your input and enter the path/name of each file relative to the root, for example,Feb-2016-Batch/Gludacta_Brochure.pdf.
How to Create Staged Documents
Section link for How to Create Staged DocumentsEach user's root directory has an Inbox directory located at /u{user_id}/Inbox (Vault Owner or System Admin) or /Inbox (non-Admins). For each file you upload to an Inbox directory, Vault creates a Staged document. Learn more about Staged documents in Vault Help