Parses multipart/form-data
uploads and stream files to a blob-store.
After uploading the Services receives a json-body with the file references:
{
"files": [
{
"key": "34525ca2-f774-444f-8e7e-7622bef69cb1",
"filename": "13.jpg",
"mimetype": "image/jpeg"
},
{
"key": "7d757e42-23aa-4df3-8995-d4b8047d6a65",
"filename": "06.jpg",
"mimetype": "image/jpeg"
}
],
"createdAt": "2016-12-13T19:22:27.552Z",
"_id": "Z3W69V7mcUPYfye3"
}
- Add md5sum to meta?
- Add length to meta?
- How to check permissions