See NXP-16953 about new API.
Let's work by steps:
1. Handle compat with old API.
2. Switch to new API still uploading whole files.
Upload by chunks and resumable upload will be handled by NXDRIVE-457.
Allow to resume upload
Polish upload API
Don't allow batch upload with a client-side generated id
Allow to execute an operation on a given batch
Use chunks to allow resumable upload