Get the pending tasks, in-progress tasks and the last executed task of a given component (usually a project). Requires the following permission: 'Browse' on the specified component. Either 'componentId' or 'component' must be provided.
Parameters (2)
component(string, query, optional)
componentId(string, query, optional)
Examples (1)
Get the pending tasks, in-progress tasks and the last executed task of a given component (usually a openapi-spec
import zingu_apis
api = zingu_apis.api("sonarqube")
result = api.fetch("api/ce/component", component="my_project", componentId="AU-Tpxb--iU5OvuD2FLy")
for item in result:
print(item)
const resp = await fetch("https://sonarcloud.io/api/ce/component?component=my_project&componentId=AU-Tpxb--iU5OvuD2FLy");
const data = await resp.json();