stable

Clone or download

Read-only

Add REST route to retrieve all parents of a folder

This is a part of story #12443 Table: Minimal folder display How to test: route GET docman_items/:id/parents should return the list of all parents of the item given in parameters Change-Id: Ief075cfd986a3da5ff805d6621235affc9e77fb5

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanItemsResource.php +71 −15 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationCollectionBuilder.php +36 −0 Go to diff View file
M plugins/docman/tests/phpunit/REST/v1/ItemRepresentationCollectionBuilderTest.php +93 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +22 −1 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +18 −2 Go to diff View file