I am trying to Upload the File against Lead via REST API.
My understanding is that I need to use ContentDocument and then create Content Document Link against that Lead.
However, I am unable to upload file using Content Document end point and in docos there is no create endpoint (https://developer.salesforce.com/docs/api-explorer/sobject/ContentDocument/get-contentdocument-id)
In simple terms - what would be best way to upload a File against Lead, so it shows itself under Files widget in Salesforce.
Disclaimer: I trailed internet for solution but none seem applicable in my scenario