What is the maximum size of files/attachment can be created under an object record in salesforce by an external system? As per documentation its 2 GB for files and 25 MB for attachments.
https://help.salesforce.com/s/articleView?id=sf.collab_files_size_limits.htm&type=5
Will it be same when an external system trying to create files/attachment in salesforce using salesforce REST API https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_list.htm#inserting_a_contentversion