stable

Clone or download

Read-only

GET /projects/:id/labels

This is part of story #10498: Add labels on pull requests This new route allows one to query labels that are used in a project. You need to insert manually entries in project_label table to test this patch. Change-Id: I8d57ae9f097340d033e064e54e8be1bd4b0871d5

Modified Files

Name
A src/common/Label/REST/LabelRepresentation.php +45 −0 Go to diff View file
M src/common/REST/ResourcesInjector.class.php +9 −1 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
A src/common/project/Label/LabelDao.php +43 −0 Go to diff View file
A src/common/project/Label/LabelsCurlyCoatedRetriever.php +51 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +58 −1 Go to diff View file
M tests/rest/ProjectTest.php +30 −0 Go to diff View file