Search Projects
Search for projects or views to administrate them. Requires Administer System
permission.
Basic Parameters
Parameter | Description |
---|---|
Organization Key | The key of the organization. |
Project Keys | Comma-separated list of project keys. |
Query | Limit search to: Component names that contain the supplied string Component keys that contain the supplied string. |
Advanced Parameters
Parameter | Description |
---|---|
Page Number | Page number to fetch. Use with the pagesize parameter and the returned information to paginate over the responses. |
Page Size | Page size. If specified, must be greater than 0 and less or equal to 500. |
Example Output
{
"paging": {
"pageIndex": 1,
"pageSize": 100,
"total": 2
},
"components": [
{
"key": "project-key-1",
"name": "Project Name 1",
"qualifier": "TRK",
"visibility": "public",
"lastAnalysisDate": "2017-03-01T11:39:03+0300",
"revision": "cfb82f55c6ef32e61828c4cb3db2da12795fd767"
},
{
"key": "project-key-2",
"name": "Project Name 1",
"qualifier": "TRK",
"visibility": "private",
"lastAnalysisDate": "2017-03-02T15:21:47+0300",
"revision": "7be96a94ac0c95a61ee6ee0ef9c6f808d386a355"
}
]
}
Workflow Library Example
Search Projects with Sonarqube and Send Results Via Email