I have a requirement to upload multiple files (up to 20) to the server. It must be done as a multipart form API post request. Each file has a set of its own metadata that will be sent along with the file. They must be batched into bundles of maximum 50Kb. For example: user trying to upload 20 files where 19 are 49Kb and 1 file is 1Kb will result in 2 API calls. If user is trying to upload 20 files where each is 50Kb then 20 API calls will be made.