restrict document upload size in API

Issue #2787 open
Robert Jäschke
created an issue

The REST API should restrict the same document size as when uploading with the web app. Actually, the complete document storage code should be the same and not be duplicated.