Upload to a Session
PUT https://{{vaultDNS}}/api/{{version}}/services/file_staging/upload/:upload_session_id
https://developer.veevavault.com/api/21.1/#upload-to-a-session
The session owner can upload parts of a file to an active upload session. By default, you can upload up to 2000 parts per upload session, and each part can be up to 50MB. Use the Range header to specify the range of bytes for each upload, or split files into parts and add each part as a separate file. Each part must be the same size, except for the last part in the upload session.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
Content-Type | string | ||
X-VaultAPI-FilePartNumber | null | The part number, which uniquely identifies a file part and defines its position within the file as a whole. If a part is uploaded using a part number that has already been used, Vault overwrites the previously uploaded file part. You must upload parts in numerical order. For example, you cannot upload part 3 without first uploading parts 1 and 2. | |
Content-MD5 | null | Optional: The MD5 checksum of the file part being uploaded. |