stable

Clone or download

Read-only

GET /frs_files/:id

story #10908: Retrieve FRS file information via REST We can now retrieve the information of a specific file. The information returned is the same than what is included in the /frs_release/:id->files. The file must be added in the release via the web interface beforehand. Change-Id: I1c427b812fe40908e1a1c4404a41d64b4cd079f4

Modified Files

Name
M plugins/frs/include/FRS/REST/ResourcesInjector.php +2 −0 Go to diff View file
M plugins/frs/include/FRS/REST/v1/FileRepresentation.php +8 −1 Go to diff View file
A plugins/frs/include/FRS/REST/v1/FileResource.php +114 −0 Go to diff View file
M plugins/frs/include/autoload.php +3 −2 Go to diff View file
A plugins/frs/tests/rest/FRS/FileTest.php +59 −0 Go to diff View file
A plugins/frs/tests/rest/_fixtures/frs/data/authors.txt +5 −0 Go to diff View file
M plugins/frs/tests/rest/_fixtures/frs/project.xml +12 −0 Go to diff View file
M tests/rest/bin/setup.sh +4 −3 Go to diff View file