Get the quality gate of a project. Requires one of the following permissions: - 'Administer' rights on the specified project- 'Browse' on the specified project
import zingu_apis
api = zingu_apis.api("sonarqube")
result = api.fetch("api/qualitygates/get_by_project", organization="my-org", project="my_project")
for item in result:
print(item)
const resp = await fetch("https://sonarcloud.io/api/qualitygates/get_by_project?organization=my-org&project=my_project");
const data = await resp.json();