Get group's cluster details
Returns the details of a specific group's cluster.
This operation can be invoked on behalf of the current group only.
Example cURL requests
Get group's cluster details
curl -u groupname:password -X GET \
https://$HOST/api/v3/onezone/group/clusters/$CLUSTER_ID
{
"clusterId": "f8d843beda24e54545455ecc0f4b8886",
"type": "oneprovider",
"workerVersion": {
"release": "20.02.2",
"build": "1-gfabf02d",
"gui": "129c549fbe9b3e730c3d9910492228566e39e1236945766a74381405cc57fb04"
},
"onepanelVersion": {
"release": "20.02.2",
"build": "3-89fc6bad",
"gui": "68e7e1472adb719ddf2d88908775091dfb10e5d0b916f06125ea1af4056044e3"
},
"online": true,
"onepanelProxy": false,
"creator": {
"type": "user",
"id": "7434b256e71e1052e0d5e3e9da657ebf"
},
"creationTime": 1576152793
}
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Group Id. |
| cid required | string Cluster Id. |
Request Examples
onezone-rest-cli getGroupCluster cid=95b663a6467c72ab1256865efef9e387Responses
Returns the details of a specific cluster.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
clusterId string The id of the cluster - depending on the type equal to the Oneprovider Id or "onezone" in case of Onezone cluster | |||||||
type string Type of the cluster Enum: oneprovideronezone | |||||||
workerVersion object (VersionInfo) Service version info.
| |||||||
onepanelVersion object (VersionInfo) Service version info.
| |||||||
onepanelProxy boolean Is onepanel proxy enabled - if so, onepanel GUI is served on cluster's domain at port 443 (rather than 9443). | |||||||
creator object (Subject) Object representing a subject in the system, can be perceived as client (actor) identity.
| |||||||
creationTime integer (Timestamp) Timestamp in seconds (UNIX epoch), e.g. | |||||||
Example
{
"clusterId": "2c0160248ba9a66f45da751ca459535a",
"type": "oneprovider",
"workerVersion": {
"release": "20.02.2",
"build": "1-gfabf02d",
"gui": "68e7e1472adb719ddf2d88908775091dfb10e5d0b916f06125ea1af4056044e3"
},
"onepanelVersion": {
"release": "20.02.2",
"build": "1-gd76fac2",
"gui": "5d9dd608775091dfb10ef2d888e7e14720b916f06125ea1af4056044eadb7193"
},
"onepanelProxy": true,
"creator": {
"type": "user",
"id": "7434b256e71e1052e0d5e3e9da657ebf"
},
"creationTime": 1576152793
}Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authentication error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authorization error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Resource not found.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Internal server Error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}