GET – Collection of virtual media
Use the GET method to retrieve properties in virtual media collection for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/VirtualMedia
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | “VirtualMediaCollection” | |||
Members | Array | Items: A reference link to an element of virtual media. | |||
Description | String | A collection of VirtualMedia resource instances |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Description": "A collection of VirtualMedia resource instances",
"@odata.type": "#VirtualMediaCollection.VirtualMediaCollection",
"@odata.context": "/redfish/v1/$metadata#VirtualMediaCollection.VirtualMediaCollection",
"Name": "VirtualMediaCollection",
"@odata.etag": "\"5e3fbd09a7ee2a324db\"",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT1"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT2"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT3"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/EXT4"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote1"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote2"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote3"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/Remote4"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/RDOC1"
},
{
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia/RDOC2"
}
],
"Members@odata.count": 10,
"@odata.id": "/redfish/v1/Systems/1/VirtualMedia"
}
Give documentation feedback