Get details of this cluster
Returns details of this cluster.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getCurrentCluster --host https://$HOST:9443Responses
Details of 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.
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."
}
}