Upload a New File Version

Upload a new document or image version.
Resource
1/ui-api/records/content-documents/${contentDocumentId}/content-versions
contentDocumentId—The ID of a previously uploaded file.
Available Version
56.0
HTTP Method
POST
To upload a file or a new file version, provide the binary file in a multipart/form-data body part where name="fileData". See Upload Binary Files and Upload Files.
Request Parameters for POST
Parameter Name Type Description Required or Optional Available Version
description String A description of the document or image to be uploaded. Optional 56.0
title String The title of the document or image to be uploaded. Optional 56.0
Request body for POST
Example for Uploading a New Version of a File
1POST /ui-api/records/content-documents/0692L00000BDVevQAH/content-versions
1{
2  "description": "Version 2 of the product image",
3  "title": "product_image"
4}
Properties
Name Type Description Required or Optional Available Version
description String A description of the document or image to be uploaded. Optional 56.0
title String The title of the document or image to be uploaded. Optional 56.0
Response Body
Content Document Composite