Restore default EDID of HDMI input
1. API Description
This API is used to restore the EDID of HDMI input port to default values.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/input/set-default-edid
- V2.5.0 and below: POST [ip]/mwapi/set-default-edid
| Administrator Rights | Logged-in |
|---|---|
| No | Yes |
2. Input Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| source-id | Yes | Int | Source ID 0: HDMI 1; 1: HDMI 2 |
3. Output Parameters
| Name | Type | Description |
|---|---|---|
| status | Int | Status code |
| smart-edid | Boolean | Whether SmartEDID is used true: Yes; false: No |
| data | String | The EDID information, in Base64 format, which needs to be converted to hexadecimal value when displayed |
4. Example
Restoring the EDID of HDMI input port to default values.
Input Example
{
"source-id": 1
}
Output Example
{
"status": 0,
"smart-edid": true,
"data": "AP///////wA09wEAAQAAAAEaAQOAAAB4Au6Vo1RMmSYPUFT//4AxQEVAYUBxQIGA0QDhwAEACOgAMPJwWoCwWIoAUB10AAAeAjqAGHE4LUBYLEUAUB10AAAeAAAA/QAPlg+HPAAAAAAAAAAAAAAA/ABNQUdFV0VMTAogICAgAWYCA1HxV2EQHwQTBRQgISJdXl9gZWZiY2QHFgMSMgl/BxUHUD0GwFcGAF9/AWd/AINPAADiAA9uAwwAEAC4eCEQgAECAwRn2F3EAXiAA+MPAeABHYAYcRwWIFgsJQBAhGMAAJ5mIVaqUQAeMEaPMwBQHXQAAB4AAAAAAAAAAAAAzw=="
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Status | Definition | Description |
|---|---|---|
| 7 | MW_STATUS_INVALID_ARG | Missing required parameters |
| 49 | MW_STATUS_INVALID_DATA | Incorrect parameter |