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 4 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 or Update a Property

DescriptionCreate or update a property

URL

/api/properties

MethodPOST
 Security

Requires Global Administrator role

Examples

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

Parameters

Parameter

Description

Required

Default Value

id

Key of the property

Yes

None

value

Value of the property

???

None
  • No labels