Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6305

WS to restore a quality profile

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Quality Profile, Web API
    • Labels:
      None

      Description

      POST api/qualityprofiles/restore?backup=...

      {
        "profile": {
          "name": "Sonar way",
          "language": "java",
          "languageName": "Java",
          "isDefault": false,
          "isInherited": false
        },
        "ruleSuccesses": 435,
        "ruleFailures": 2
      }
      
      • backup is an XML file as generated by api/qualityprofiles/backup or the former api/profiles/backup

        Attachments

          Activity

            People

            Assignee:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Reporter:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: