stable

Clone or download

Read-only

task #12375: Add missing subresources in /projects/:id

"resources": [ ..., { "type": "testing_campaigns", "uri": "projects/157/testing_campaigns" }, { "type": "testing_definitions", "uri": "projects/157/testing_definitions" }, { "type": "testing_environments", "uri": "projects/157/testing_environments" }, { "type": "user_groups", "uri": "projects/157/user_groups" } ] The same for /campaigns/:id "resources": [ { "type": "testing_executions", "uri": "testing_campaigns/107349/testing_executions" }, { "type": "testing_environments", "uri": "testing_campaigns/107349/testing_environments" }, { "type": "testing_assignees", "uri": "testing_campaigns/107349/testing_assignees" } ], Change-Id: I1c210ebcad1c6e36f40a1c38d4689b2354b1f281

Modified Files

Name
M include/Testing/REST/ResourcesInjector.class.php +5 −1 Go to diff View file
M include/Testing/REST/v1/CampaignRepresentation.class.php +10 −1 Go to diff View file
A include/Testing/REST/v1/EnvironmentRepresentation.php +47 −0 Go to diff View file
M include/Testing/REST/v1/ProjectResource.class.php +7 −6 Go to diff View file
M include/autoload.php +3 −2 Go to diff View file