---
title: "Get the sonar quality information for the specified pipeline of the DevOps project. More info: https://docs.sonarqube.org/7.4/user-guide/metric-definitions/"
method: GET
path: "/kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/sonarstatus"
tags: ["DevOps Pipeline"]
---

# Get the sonar quality information for the specified pipeline of the DevOps project. More info: https://docs.sonarqube.org/7.4/user-guide/metric-definitions/

`GET /kapis/devops.kubesphere.io/v1alpha2/namespaces/{devops}/pipelines/{pipeline}/sonarstatus`

## Path parameters

- `devops` string, required
- `pipeline` string, required

## Response `200`

ok

- SonarqubeSonarStatus[]
  - `generalAction` DevopsGeneralAction
    - `TotalCount` integer
    - `UrlName` string
    - `_class` string
    - `buildsByBranchName` object
    - `causes` DevopsGeneralActionCauses[]
    - `ceTaskId` string
    - `lastBuiltRevision` DevopsBuildRevision
      - `Branch` DevopsBranch[]
        - `Name` string
        - `SHA1` string
      - `SHA1` string
    - `parameters` DevopsGeneralParameter[]
      - `Name` string, required
      - `Value` string, required
    - `remoteUrls` string[]
    - `scmName` string
    - `serverUrl` string
    - `sonarqubeDashboardUrl` string
    - `subdir` unknown
  - `issues` SonargoIssuesSearchObject
    - `components` SonargoComponent[]
      - `analysisDate` string
      - `description` string
      - `enabled` boolean
      - `id` string
      - `key` string
      - `language` string
      - `lastAnalysisDate` string
      - `leakPeriodDate` string
      - `longName` string
      - `measures` SonargoSonarMeasure[]
        - `bestValue` boolean
        - `history` SonargoHistory[]
          - `date` string
          - `value` string
        - `metric` string
        - `periods` SonargoPeriod[]
          - `bestValue` boolean
          - `date` string
          - `index` integer
          - `mode` string
          - `parameter` string
          - `value` string
        - `value` string
      - `name` string
      - `organization` string
      - `path` string
      - `project` string
      - `qualifier` string
      - `tags` string[]
      - `uuid` string
      - `version` string
      - `visibility` string
    - `debtTotal` integer
    - `effortTotal` integer
    - `facets` SonargoFacet[]
      - `name` string
      - `property` string
      - `values` SonargoFacetValue[]
        - `count` integer
        - `val` string
    - `issues` SonargoIssue[]
      - `actions` string[]
      - `assignee` string
      - `author` string
      - `closeDate` string
      - `comments` SonargoComment[]
        - `createdAt` string
        - `htmlText` string
        - `key` string
        - `login` string
        - `markdown` string
        - `updatable` boolean
      - `component` string
      - `creationDate` string
      - `debt` string
      - `effort` string
      - `flows` SonargoIssueFlows[]
        - unknown
      - `fromHotspot` boolean
      - `hash` string
      - `key` string
      - `line` integer
      - `message` string
      - `organization` string
      - `project` string
      - `resolution` string
      - `rule` string
      - `severity` string
      - `status` string
      - `tags` string[]
      - `textRange` SonargoTextRange
        - `endLine` integer
        - `endOffset` integer
        - `startLine` integer
        - `startOffset` integer
      - `transitions` string[]
      - `type` string
      - `updateDate` string
    - `p` integer
    - `paging` SonargoPaging
      - `pageIndex` integer
      - `pageSize` integer
      - `total` integer
    - `ps` integer
    - `rules` SonargoRule[]
      - `createdAt` string
      - `debtOverloaded` boolean
      - `htmlDesc` string
      - `isExternal` boolean
      - `isTemplate` boolean
      - `key` string
      - `lang` string
      - `langName` string
      - `mdDesc` string
      - `name` string
      - `params` SonargoRuleParam[]
        - `defaultValue` string
        - `htmlDesc` string
        - `key` string
        - `type` string
      - `remFnOverloaded` boolean
      - `repo` string
      - `scope` string
      - `severity` string
      - `status` string
      - `sysTags` string[]
      - `tags` string[]
      - `templateKey` string
      - `type` string
    - `total` integer
    - `users` SonargoUser[]
      - `active` boolean
      - `avatar` string
      - `email` string
      - `externalIdentity` string
      - `externalProvider` string
      - `groups` string[]
      - `local` boolean
      - `login` string
      - `name` string
      - `scmAccounts` string[]
      - `selected` boolean
      - `tokensCount` integer
  - `measures` SonargoMeasuresComponentObject
    - `component` SonargoComponent
      - `analysisDate` string
      - `description` string
      - `enabled` boolean
      - `id` string
      - `key` string
      - `language` string
      - `lastAnalysisDate` string
      - `leakPeriodDate` string
      - `longName` string
      - `measures` SonargoSonarMeasure[]
        - `bestValue` boolean
        - `history` SonargoHistory[]
          - `date` string
          - `value` string
        - `metric` string
        - `periods` SonargoPeriod[]
          - `bestValue` boolean
          - `date` string
          - `index` integer
          - `mode` string
          - `parameter` string
          - `value` string
        - `value` string
      - `name` string
      - `organization` string
      - `path` string
      - `project` string
      - `qualifier` string
      - `tags` string[]
      - `uuid` string
      - `version` string
      - `visibility` string
    - `metrics` SonargoMetric[]
      - `Description` string, required
      - `Domain` string, required
      - `Key` string, required
      - `Name` string, required
      - `Type` string, required
      - `custom` boolean
      - `decimalScale` integer
      - `direction` integer, required
      - `hidden` boolean
      - `id` string
      - `qualitative` boolean
    - `periods` SonargoPeriod[]
      - `bestValue` boolean
      - `date` string
      - `index` integer
      - `mode` string
      - `parameter` string
      - `value` string
  - `task` SonargoCeTaskObject
    - `task` SonargoTask
      - `analysisId` string
      - `componentId` string
      - `componentKey` string
      - `componentName` string
      - `componentQualifier` string
      - `errorMessage` string
      - `errorStacktrace` string
      - `errorType` string
      - `executedAt` string
      - `executionTimeMs` integer
      - `finishedAt` string
      - `hasErrorStacktrace` boolean
      - `hasScannerContext` boolean
      - `id` string
      - `logs` boolean
      - `organization` string
      - `scannerContext` string
      - `startedAt` string
      - `status` string
      - `submittedAt` string
      - `submitterLogin` string
      - `taskType` string
      - `type` string
      - `warningCount` integer
      - `warnings` string[]

---

[API](https://skmtc.dev/kubesphere/apis/kubesphere-devops.md) · [All operations](https://skmtc.dev/kubesphere/apis/kubesphere-devops/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubesphere/kubesphere-devops/revisions/f2642b25b303/schema)
