Get details of a user's cluster
Returns details of the specified cluster.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Cluster Id which details should be returned. |
Request Examples
onepanel-rest-cli getCluster --host https://$HOST:9443 -H "x-auth-token: $TOKEN"
Responses
Information about the cluster.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
id string Id of the cluster record. | |||||||
type string Type of the cluster. Enum: oneprovideronezone | |||||||
serviceId string The Id of the service hosted on this cluster - depending on the type equal to the Oneprovider Id or "onezone" in case of Onezone cluster | |||||||
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). | |||||||
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."
}
}Forbidden request.
Request client is not member of cluster with given Id.
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."
}
}