Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6818 Split batch/project WS in several simpler WS
  3. SONAR-6821

Update api/qualityprofiles/search to load quality profiles

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Web API
    • Labels:
      None

      Description

      • add a componentKey parameter: takes a module or project key
      • add a default boolean parameter to return default quality profiles
      • add a profileName parameter
      • return rulesUpdatedAt in the response
      • add protobuf support

      Sample result:

      {
        "profiles": [
          {
            "key": "sonar-way-cs-12345",
            "language": "cs",
           rulesUpdatedAt: "2014-09-05T15:57:22+0200"
          },
          {
            "key": "my-bu-profile-java-34567",
            "language": "java",
            rulesUpdatedAt: "2014-09-05T15:57:22+0200"
          },
          {
            "key": "sonar-way-python-01234",
            "language": "py",
            rulesUpdatedAt: "2014-09-05T15:57:22+0200"
          }
        ]
      }
      

        Attachments

          Activity

            People

            Assignee:
            teryk.bellahsene Teryk Bellahsene
            Reporter:
            julien.henry Julien Henry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: