stable

Clone or download

Read-only

Introduce GET /docman_items/:id

Part of story #12443 Table: Minimal folder display This is a necessary step to be able to display the title of a folder instead of "Documents" as h1. No functional changes in the document view; the route is not used yet. You can test it with the /api/explorer. Change-Id: I453fd98ee33a23e84dbeac4ba691b2ddceb23948

Modified Files

Name
M plugins/docman/include/Item/ItemVisitor.php +12 −6 Go to diff View file
A plugins/docman/include/REST/v1/DocmanItemsRequest.php +94 −0 Go to diff View file
A plugins/docman/include/REST/v1/DocmanItemsRequestBuilder.php +107 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +64 −64 Go to diff View file
R plugins/docman/include/REST/v1/FolderAccessibilityCheckerVisitor.php Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationVisitor.php +12 −6 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +5 −8 Go to diff View file
M plugins/docman/site-content/tuleap-docman.pot +2 −5 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +43 −4 Go to diff View file