stable

Clone or download

Read-only

Initialize REST endpoint `GET /projects/:id/3rd_party_integration_data`

This endpoint will be needed for independant services to have access to the information required by the Tuleap components. Those independant services will be able to access this endpoint using an OAuth2 access token with `read:project` scope. This contribution sets the grounds for this new REST endpoint but it is not yet complete. The sidebar `config` attribute will come in another contribution. Part of story #24227: have private oauth2 endpoints for Mediawiki Change-Id: I47d4860709d3c51a1c482b982dc4226eb94a2aa2

Modified Files

Name
M src/common/Project/REST/v1/ProjectResource.class.php +37 −0 Go to diff View file
A src/common/Project/REST/v1/ProjectSidebarDataRepresentation.php +43 −0 Go to diff View file
A src/common/Project/REST/v1/ThirdPartyIntegrationDataRepresentation.php +36 −0 Go to diff View file
A src/common/Project/REST/v1/ThirdPartyIntegrationStylesRepresentation.php +54 −0 Go to diff View file
M tests/rest/tests/ProjectTest.php +16 −0 Go to diff View file