stable

Clone or download

Read-only

Add docman_files/id/version endpoint

Part of story #24192 preview file name at upload Have a file with some history Call the rest route, you should see all the versions of your document Change-Id: I7eb6a6cf440079315bc415d1ff89d23e5d0dbf20

Modified Files

Name
A plugins/docman/include/Item/PaginatedFileVersionRepresentationCollection.php +46 −0 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFilesResource.php +60 −13 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +7 −17 Go to diff View file
A plugins/docman/include/REST/v1/Files/FileVersionRepresentation.php +71 −0 Go to diff View file
A plugins/docman/include/REST/v1/VersionRepresentationCollectionBuilder.php +54 −0 Go to diff View file
A plugins/docman/include/Version/VersionDao.php +47 −0 Go to diff View file
M plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po +1 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanFilesTest.php +21 −0 Go to diff View file
M plugins/docman/tests/unit/REST/v1/Folders/BuildSearchedItemRepresentationsFromSearchReportTest.php +8 −1 Go to diff View file
A plugins/docman/tests/unit/REST/v1/VersionRepresentationCollectionBuilderTest.php +75 −0 Go to diff View file