-
GET /api/marketplace-resources/<resource_uuid>/
- Get details about a specific Kubernetes cluster.This endpoint retrieves detailed information about a Kubernetes cluster, including its name, status, node configuration, and other relevant attributes. You'll need the
resource_uuid
of the Kubernetes cluster, which you can obtain from the "List Kubernetes Cluster Resources" endpoint (6.2.2).Request Example:
GET [https://api.wayscloud.services/api/marketplace-resources/kubernetes_cluster_resource_uuid/](https://www.google.com/search?q=https://api.wayscloud.services/api/marketplace-resources/kubernetes_cluster_resource_uuid/)
Authorization: Token <your_api_token>Response Example:
{
"uuid": "kubernetes_cluster_resource_uuid",
"name": "my-k8s-cluster",
"state": "OK",
"runtime_state": "online",
"project": "project_uuid_value",
"offering": "offering_uuid_value",
"plan": "plan_uuid_value",
"nodes": [
{
"name": "node-1",
"size": "small",
//... other node details...
}
],
//... other fields...
}Status Codes:
- 200 OK: The Kubernetes cluster details were successfully retrieved.
- 401 Unauthorized: The user making the request is not authorized.
-
404 Not Found: The specified Kubernetes cluster
resource_uuid
does not exist.