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

Complete the web service /api/profiles to backup and restore profile

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: Quality Profile
    • Labels:
      None

      Description

      Backup :

      curl -u admin:admin  http://localhost:9000/api/profiles/backup?language=java[&name=my_profile] -v

      Restore :

      curl -X POST -u admin:admin -F 'backup=@nameOfFileContainingTheBackup' -v http://localhost:9000/api/profiles/restore

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: