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://$PANEL_HOST:9443 -H "x-auth-token: $TOKEN"
Responses
Information about 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.
Request client is not member of cluster with given Id.
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."
}
}