Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Table of Contents

Get a List of Properties

DescriptionGet a list of properties

URL

/api/properties

MethodGET

Security

Optional (to see secured properties)

Examples

  1. Get the list of all the properties:

     

     

  2. Get the global property 'sonar.core.codeCoveragePlugin':



  3. Get the property 'sonar.core.codeCoveragePlugin' on project 'org.codehaus.sonar:sonar': ?????????????? trouver une propriété redéfinie



Parameters

Parameter

Description

Required

Default Value

Value

id

Key of the property

No

Get all properties if not set

sonar.core.codeCoveragePlugin

resource

id or key of the project

No

None

org.codehaus.sonar:sonar

formatResponse formats: xml or jsonNoxml 

Create a Property

DescriptionCreate a property

URL

/api/properties

MethodPOST
 Security

Requires Global Administrator role

Examples

  1. Create a property 'myProperty' with value 'myValue' by user admin/admin:

Parameters

Parameter

Description

Required

Default Value

Value

resource

id or key of the project

?

 

org.codehaus.sonar:sonar

category

Category

?

 

Version
Alert 

name

 

   

description

 

   
Autres paramètres ???    
Icon
To be reviewed and completed
    
  • No labels