stable

Clone or download

Read-only

POST docman_folders/id/empty

part of story #13008 Explode route POST docman_items How to test: You should not be able to use the old route anymore You should be able to create new empty documents with the modal Change-Id: I437def10bbc79acb68d345b6c7f44b3880c9ffde

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +47 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +34 −24 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemPOSTRepresentation.php +1 −1 Go to diff View file
A plugins/docman/include/REST/v1/Folders/DocmanEmptyPOSTRepresentation.php +35 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +4 −4 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +0 −66 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestFoldersTest.php +87 −4 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +17 −1 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.spec.js +26 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +26 −18 Go to diff View file