// Module included in the following assemblies:
//
// * virt/post_installation_configuration/virt-kubevirt-redfish.adoc

:_mod-docs-content-type: REFERENCE
[id="ref_virt-kubevirt-redfish-api-endpoints_{context}"]
= Supported Redfish API endpoints

[role="_abstract"]
KubeVirt Redfish implements a subset of the Redfish standard for managing virtual machines.
The following table lists the supported API endpoints.

Access these endpoints using the full URL format `\https://<route_hostname>/<endpoint_path>`, where `<route_hostname>` is the KubeVirt Redfish Route hostname.

[NOTE]
====
In endpoint paths, `{system_id}` refers to the VM identifier.
With the `enhanced` system ID convention, this is `<namespace>.<vm-name>`.
With the `legacy` convention, this is `<vm-name>` only.
====

.Supported Redfish API endpoints
[cols="1,2,3",options="header"]
|===
|Method |Endpoint |Description

|GET
|`/redfish/v1/`
|Service root. Returns available resource collections.

|GET
|`/redfish/v1/Systems`
|List all VMs exposed as Redfish systems.

|GET
|`/redfish/v1/Systems/{system_id}`
|Get details for a specific VM, including power state and boot settings.

|POST
|`/redfish/v1/Systems/{system_id}/Actions/ComputerSystem.Reset`
|Power operations. Supported `ResetType` values: `On`, `ForceOff`, `GracefulShutdown`.

|GET
|`/redfish/v1/Systems/{system_id}/VirtualMedia/Cd`
|Get VirtualMedia status for the VM's virtual CD drive.

|POST
|`/redfish/v1/Systems/{system_id}/VirtualMedia/Cd/Actions/VirtualMedia.InsertMedia`
|Attach an ISO image to the VM. Requires `Image` URL parameter.

|POST
|`/redfish/v1/Systems/{system_id}/VirtualMedia/Cd/Actions/VirtualMedia.EjectMedia`
|Detach the ISO image from the VM.

|PATCH
|`/redfish/v1/Systems/{system_id}`
|Modify boot settings. Set `Boot.BootSourceOverrideTarget` (`Cd`, `Hdd`, `Pxe`) and `Boot.BootSourceOverrideEnabled` (`Once`, `Continuous`, `Disabled`).
|===
