Getting Server Group Information
Server group information is retrieved with the GET /pools/default/serverGroups HTTP method and URI.
HTTP method and URI
GET /pools/default/serverGroups retrieves information about server groups.
Provides group information, "groups": [(<groupInfo>)+], where each server group has unique URIs and UUIDs.
GET /pools/default/serverGroups
Response
{"groups":
[
{
"name":"<groupName>",
"uri": "/pools/default/serverGroups?rev=<integer>",
"addNodeURI":"/pools/default/serverGroups/0",
"nodes":[(<nodeInfo>)+]
}
]
}
| Group arguments | Description |
|---|---|
|
Information about server groups. |
|
Specifies the name of the group.
If the group name has a space, for example, Group A, use double quotes (for example, |
|
Specifies the URI path and revision integer. |
|
Specifies the URI path and UUID string. |
|
Specifies the URI path and UUID string for adding servers to a server group. |
|
Information about the servers. |