Dashboard
This API is used to get the information about kubernetes resource (e.g., Pods, Deployments)
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
project_idstringRequired
Project ID
Query parameters
statusstringOptional
Status
filterstringOptional
Filter
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successget/core/user/projects/{project_id}/vcluster/dashboard
GET /core/user/projects/{project_id}/vcluster/dashboard HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
Successful Response
{
"code": 200,
"data": {
"chart": {
"datasets": [
{
"data": [
1
],
"name": "text"
}
],
"labels": [
"text"
]
},
"dashboard": {
"daemon_set": {
"status": "text",
"total": 1
},
"deployment": {
"status": "text",
"total": 1
},
"pods": {
"status": "text",
"total": 1
},
"services": {
"status": "text",
"total": 1
},
"stateful_set": {
"status": "text",
"total": 1
}
},
"event": {
"apiVersion": "text",
"items": [
{
"action": "text",
"count": 1,
"eventTime": "text",
"firstTimestamp": "text",
"involvedObject": {
"apiVersion": "text",
"fieldPath": "text",
"kind": "text",
"name": "text",
"namespace": "text",
"resourceVersion": "text",
"uid": "text"
},
"lastTimestamp": "text",
"message": "text",
"metadata": {
"creationTimestamp": "text",
"managedFields": [
{
"apiVersion": "text",
"fieldsType": "text",
"fieldsV1": {
"f:action": {},
"f:count": {},
"f:eventTime": {},
"f:firstTimestamp": {},
"f:involvedObject": {},
"f:lastTimestamp": {},
"f:message": {},
"f:reason": {},
"f:reportingComponent": {},
"f:reportingInstance": {},
"f:source": {
"f:component": {},
"f:host": {}
},
"f:type": {}
},
"manager": "text",
"operation": "text",
"time": "text"
}
],
"name": "text",
"namespace": "text",
"resourceVersion": "text",
"uid": "text"
},
"reason": "text",
"reportingComponent": "text",
"reportingInstance": "text",
"source": {
"component": "text",
"host": "text"
},
"type": "text"
}
],
"kind": "text",
"metadata": {
"creationTimestamp": "text",
"generation": 1,
"name": "text",
"namespace": "text",
"resourceVersion": "text",
"uid": "text"
}
}
},
"message": "Success"
}Last updated