Newer Version Available
Upload a File
- Resource
-
1/ui-api/records/content-documents/content-versions - 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 File
-
1POST /ui-api/records/content-documents/content-versions -
1{ 2 "description": "A description of the product", 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