Get Microservice Workloads for a Tree Grids

get

/api/microservice/Workload/readForTree

Gets microservice workloads in a format suitable for tree grids.

Request

Query Parameters
  • The node to start the tree. The response depends on this parameter as follows:
    • If this parameter is empty, it returns all the clusters.
    • If this parameter lists a cluster in /{cluster} format, it returns all the available namespaces within the cluster.
    • If this parameter lists a namespace in /{cluster}/{namespace} format, and the type parameter is set to pod, it returns the list of running pods within the cluster's namespace as leaf nodes with summary details.
    Examples

  • The type of workload. This parameter is only used if the value of the node parameter is a namespace, /{cluster}/{namespace} format. Possible values are pod, deployment, service, statefulset, job, replicaset, daemonset, and cronjob.
    Example:
    cronjob

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulGetOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : microserviceWorkloadReadForTree
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top