function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ArabindaArabinda 

Upload New Version file to chatter feed through Connect API or APEX Rest call

I am trying to use "upload a new version" functionality for files in chatter through Connect API in my VF page.I am not getting any proper solution to implement it.

Please suggest how I can do it through Connect API or APEX Rest call

Thanks
Arabinda
jody_blyjody_bly
The Files functionality isn't exposed in Chatter in Apex (ConnectApi namespace), but it is exposed in Chatter REST API: 
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_files_information.htm

You can make a REST callout from Visualforce.

Jody