Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Restore the quality profile defined in ???????:

    Code Block
    languagenone
    curl -X POST -u <login>:<password> -F 'backup=<my>backup</my>' -v http://localhost:9000/api/profiles/restore -v

     

     

  2. Backup the java quality profile 'Sonar%20way':

    Code Block
    languagenone
    GET http://localhost:9000/api/profiles/backup?language=java&name=Sonar%20way

Parameters

Parameter

Description

Required

Default Value

Value

language

Project language

Yes

None

java

name

Profile name. If not set, the default profile for the selected language is used.

No

None

Sonar%20way

formatResponse formats: xml or jsonNoxml