stable

Clone or download

Read-only

Update POST /docman_items to accept the folder creation

Part of the story #12455 New folder How to test: - Go to the API explorer - Try to create a folder => The explorer should return 201, you should also see the new created folder in the docman. Change-Id: Ib2addd55d085f6ad41b3a3a117de94512032e44a

Modified Files

Name
M plugins/docman/include/REST/v1/AfterItemCreationVisitor.php +3 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +17 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemPOSTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +1 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +98 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +48 −0 Go to diff View file