Page 1 of 1

Many files under one document

Posted: Thu Jan 13, 2022 11:03 am
by legosiv
Hello! I am trying to upload more than one file under one document. -> the docs here state
Mayan EDMS support creating multiple files in relation to a single document. In essence, the Document is a file container.
So i was wondering if I could store more than one file under one document. e.g. I have an Identity Card with information on both the front and back of the card. The user needs to upload both the front and back separately but can I have the 2 files as one document inside Mayan EDMS or should I use cabinets for this? I planned to use the documents_create route to create a document and documents_file_create to upload files. However both the api routes have other required fields that are not listed in the documentation. Why is that? Is there an error in the documentation? What is required for the action field? Links to some examples or other resources will be appreciated. Thank you! Image [br][/br] Image