How do I know when an upload through the API is done?
Read GET /v1/workspaces/{workspaceID}/uploads/{uploadID} until state is
ready or rejected, waiting a little longer between reads each time.
When ready, fileID and versionID name the new file and its version.