uploadFile abstract method
Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.
Implementation
@Multipart()
@Post(path: "/v1/files")
Future<Response<File>> uploadFile(
@Part("purpose") String purpose,
@PartFile("file") List<int> file,
);