In-api processing of simple and individual entries
Some entries are easy to process. In the context of ELN, we want to use archive-json documents to represent user input. This will be frequently edited and saved in the GUI. For this use-case, we should allow to process new file versions directly in the API. This would allow much simpler edit components that do not have to poll and wait for completed processing.
There could be a special PUT upload/upload_id/raw/...
parameter that changes the API behaviour to process the file directly within the API call. In addition to the usual response, the API could return the processing results as additional data.