Upload attachments to all API endpoints

Attaching files to a ticket is in the API. Although it requires to you provide a link to the file rather than letting you submit it with form data but whatever. I can work around that. How can we get that same endpoint added to the other APIs like Customer, Estimates, Invoices, etc??? This should be easy since tickets can already do it.