Get the Detail of Available Rule Tags

DescriptionGet the list of available rule tags

URL

/api/rule_tags/list

HTTP MethodGET
Response Formatsjson

Security

None

Available sinceVersion 4.2

Examples

Use CaseExample Request
Get the list all available rule tags

GET http://nemo.sonarqube.org/api/rule_tags/list

Response Format

["error-handling","multithreading","pitfall","convention","bug","security","unused","java8","brain-overload"]

Parameters

None

Create a Rule Tag

DescriptionCreate a rule tag

URL

/api/rule_tags/create

HTTP MethodPOST

Security

Requires Administer Quality Profiles permission

Available sinceVersion 4.2

Examples

Use CaseExample Request
Create tag "mytag"

curl -X POST -v -u admin:admin "http://localhost:9000/api/rule_tags/create?tag=mytag"

Parameters

Parameter

Description

Required

Default Value

Example Value

tag

TagYes

None

mytag