stable

Clone or download

Read-only

POST docman_folders/id/folders

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 folders with the modal Change-Id: I883f6ba38846150392d84a0194b3ad082b107858

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +48 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +38 −25 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/DocmanFolderPOSTRepresentation.php +35 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +6 −58 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +0 −47 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestFoldersTest.php +45 −0 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 +18 −10 Go to diff View file