GET – BMC serial interface properties
Use the GET method to retrieve properties in the resource of serial interface for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/SerialInterfaces/1
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | “1” | |||
Description | String | Serial Interface of Redfish | |||
Name | String | Serial Interface | |||
InterfaceEnabled | Boolean | Indicates whether this interfaces is enabled. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
When the request is successful, a message body similar to the following is returned:
{
"@odata.context": "/redfish/v1/$metadata#SerialInterface.SerialInterface",
"@odata.etag": "\"FFD62735\"",
"@odata.id": "/redfish/v1/Managers/1/SerialInterfaces/1",
"@odata.type": "#SerialInterface.v1_1_8.SerialInterface",
"Description": "Serial port redirection of the host.",
"Id": "1",
"InterfaceEnabled": true,
"Name": "Serial Interface",
"Oem": {
...
}
}
}
Give documentation feedback