Get details of this cluster
Returns details of this cluster.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getCurrentCluster --host https://$PANEL_HOST:9443Responses
Details of the cluster.
Id of the cluster record.
Type of the cluster.
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.
Service version info.
Release version.
Build number.
GUI version indicated by a SHA256 hash.
onepanelVersion object (VersionInfo) Service version info.
Service version info.
Release version.
Build number.
GUI version indicated by a SHA256 hash.
Is Onepanel proxy enabled - if so, onepanel GUI is served on cluster's domain at port 443 (rather than 9443).
Invalid request.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Forbidden request.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}