Hello Team,
How to use f and q for the belwo API:
GET api/user_groups/search
https://hostname/api/user_groups/search/ --------- please let me know where and how to place f and q here with example.
Regards,
Janeto
Hello Team,
How to use f and q for the belwo API:
GET api/user_groups/search
https://hostname/api/user_groups/search/ --------- please let me know where and how to place f and q here with example.
Regards,
Janeto
Welcome
in this case you would use i.e.
https://yoursonarhostname/api/user_groups/search?f=description&q=sonar-users
and the json response will be something like that
{
"paging": {
"pageIndex": 1,
"pageSize": 100,
"total": 1
},
"groups": [
{
"id": "AXpoGSDx8qwt3cr7OCxu",
"description": "Any new users created will automatically join this group",
"default": true
}
]
}
As the Sonarqube web ui uses the Sonarqube web api itself, you may use the browser developer tools to see how it is used.
Gilbert
Thank you for the help