v51

latestSwagger 2.0Apache 2.0raw.githubusercontent.com2026-08-01293428729.7 KB

Get graph of objects related to a Virtual Machine

get/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/objectgraph

Request body

includeOptionalNodesboolean

IncludeOptionalNodes indicates whether to include optional nodes in the graph. True by default.

Response

OK

apiVersionstring

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kindstring

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

labelsobject
optionalboolean