...
The Groups/list
API allows you to get a list of all existing Build Groups in a certain Coordinator, and the number of Agents in each Build Group.
Request Syntax
The Groups/list
API request is a general request, which refers to all existing Build Groups that are defined in a certain Coordinator:
Code Block |
---|
GET https://{Coordinator IP Address/Hostname}:{Web Access Port}/Groups/list |
For example:
Code Block |
---|
GET https://win10-1:31100/Groups/list |
Response Syntax
The results of the Groups/list
API contain the list of all the Build Groups defined in the Coordinator, with the number of Agents in each Build Group.
For example:
Code Block |
---|
[
{
"AgentCount": 1,
"Group": "Default"
},
{
"AgentCount": 3,
"Group": "Dev"
},
{
"AgentCount": 0,
"Group": "QA"
}
] |
Where:
AgentCount
– the number of Agents in the Build Group.Group
– the name of the Build Group.
...