Extract uploads API into separate module
What does this MR do and why?
Refactors the uploads API in preparation for adding additional endpoints. Also removes unneeded code for upload size exemption.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #25838 (closed)
Edited by Heinrich Lee Yu