stable

Clone or download

Read-only

Add GET /git/:id/branches REST route

This a part of story #11419: have more insights about git repostories via REST API The goal of this new REST route is to improve the performance of the future Jenkins plugin Tuleap Branch source. How to test : - Make sure you have at least two branches in your repossitory - Go to the api explorer - Fill the fields ( by default limit and offset = 0 ) - Click on 'Try it out!' Change-Id: I2894f6549dd299700eedf672db7f87fec8704231

Modified Files

Name
A plugins/git/include/REST/v1/GitBranchRepresentation.php +42 −0 Go to diff View file
A plugins/git/include/REST/v1/GitCommitRepresentation.php +35 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +69 −0 Go to diff View file