aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-webapi-v2
diff options
context:
space:
mode:
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>2024-06-20 15:00:56 +0200
committersonartech <sonartech@sonarsource.com>2024-06-26 20:03:32 +0000
commit2d9900e3e0a2875c68cb6bdfc412f5cb840cdb2b (patch)
tree7a32a21de05b0e4c5c82ffd6d069c9a302f5baf5 /server/sonar-webserver-webapi-v2
parent48bc35f84291aa2dd0a0983e40e2b0d3070be638 (diff)
downloadsonarqube-2d9900e3e0a2875c68cb6bdfc412f5cb840cdb2b.tar.gz
sonarqube-2d9900e3e0a2875c68cb6bdfc412f5cb840cdb2b.zip
NOJIRA Clarify how to use api/v2/dop-translation/bound-projects
Diffstat (limited to 'server/sonar-webserver-webapi-v2')
-rw-r--r--server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/projects/controller/BoundProjectsController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/projects/controller/BoundProjectsController.java b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/projects/controller/BoundProjectsController.java
index 2a54c0289cc..4ae3255162e 100644
--- a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/projects/controller/BoundProjectsController.java
+++ b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/projects/controller/BoundProjectsController.java
@@ -41,7 +41,7 @@ public interface BoundProjectsController {
@Operation(summary = "Create a SonarQube project with the information from the provided DevOps platform project.", description = """
Create a SonarQube project with the information from the provided DevOps platform project.
Autoconfigure Pull-Request decoration mechanism.
- Requires the 'Create Projects' permission
+ Requires the 'Create Projects' permission and setting a Personal Access Token with api/alm_integrations/set_pat for a user who will be using this endpoint
""")
@ResponseStatus(HttpStatus.CREATED)
BoundProjectCreateRestResponse createBoundProject(@Valid @RequestBody BoundProjectCreateRestRequest request);