stable

Clone or download

Read-only

Add the POST empty_documents/:id/file REST route

This is a part of story #13208 create new version of empty document How to test : - You can test it partially via the API Explorer => The creaton of the version should return 201 Change-Id: Ic6e3607dc61e53f9196bbb71695f26a064a103b5

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmptyDocumentsResource.php +95 −7 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFilesResource.php +3 −1 Go to diff View file
M plugins/docman/include/REST/v1/Files/DocmanFileVersionCreator.php +48 −2 Go to diff View file
M plugins/docman/include/Upload/Version/VersionUploadFinisher.php +2 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/Files/DocmanFileVersionCreatorTest.php +43 −9 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanEmptyTest.php +98 −0 Go to diff View file