Is is possible to upload 2 or more files in one request?

Hi, I’m using the api and I wanted to know if there is a way that I am not seeing of uploading more than one file per request…
I’m using de document/upload and the document/document_id/files/ to upload files, but I only got them to work with passing only one file at a time, if my request has more than 1 file, I need to to do one request per file
I was just wondering if there is a better way of doing it

What is the use case for that?

When you need to do many requests Mayan EDMS offers the BatchRequest feature.

I tried using batch_requests, but after reading the documentation it specifically mentions that batch request don’t support file upload sadly