Loading through rest several bpmn files

Please tell me, how can I download several bpmn files to rest?
“application/octet-stream” does not allow you to attach multiple files at the same time with one “deployment-name” ?