-
GET /api/marketplace-resources/?project=<project_uuid>&offering_type=Kubernetes
- List all Kubernetes clusters in a project.This endpoint retrieves a list of all Kubernetes cluster resources associated with the specified project. Use the
project=<project_uuid>
filter to specify the project and theoffering_type=Kubernetes
filter to retrieve only Kubernetes cluster resources.Request Example:
GET [https://api.wayscloud.services/api/marketplace-resources/?project=your_project_uuid&offering_type=Kubernetes](https://www.google.com/search?q=https://api.wayscloud.services/api/marketplace-resources/%3Fproject%3Dyour_project_uuid%26offering_type%3DKubernetes)
Authorization: Token <your_api_token>Response Example:
{
"next": null,
"previous": null,
"count": 1,
"results": [
{
"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",
//... other fields...
}
]
}Status Codes:
- 200 OK: The list of Kubernetes cluster resources was successfully retrieved.
- 401 Unauthorized: The user making the request is not authorized.