rest-api-java v1.0 upload