- Contents
- API Instructions
- Error Code
- General
- Input
- Retrieve Input Information
- EDID
- Color Adjustment
- Internal Source
- Set HDR Mode
- Screen
- Device
- Cabinet
Retrieve Input Data
GET
/api/v1/device/input
/api/v1/device/input
All
TIP
Request
None
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://127.0.0.1:8001/api/v1/device/input'
Responses
🟢200Successful
application/json
Body
testPattern
objectÂ
Test pattern (internal use only)
mode
integerÂ
Mode
parameters
objectÂ
Parameter
InputPortConfig
objectÂ
Input source configuration
logicId
integerÂ
Source logic ID
modelId
integerÂ
Model ID of the source corresponding card (internal use only)
hardwareID
stringÂ
Source-corresponding hardware ID (internal use only)
cscParameter
objectÂ
Source's CSC parameters (internal use only)
edidInfo
objectÂ
EDID information
isLimitToFull
booleanÂ
Whether it is Limited to Full
range
integerÂ
Quantization range
colorSpaceType
integerÂ
Color space
colorGamut
integerÂ
Color gamut
hdrParameter
objectÂ
HDR configuration
blackLevelInfo
objectÂ
blackLevelInfo parameters (internal use only)
capacity
stringÂ
Current port capacity
Example
{
"testPattern": {
"mode": 0,
"parameters": {
"red": 0,
"green": 0,
"blue": 0,
"gray": 0,
"gridWidth": 0,
"moveSpeed": 0,
"gradientStretch": 0,
"state": 0
}
},
"InputPortConfig": {
"logicId": 0,
"modelId": 0,
"hardwareID": "string",
"cscParameter": {
"PortID": 0,
"HueValue": 0,
"ContrastValue": 0,
"SaturationValue": 0
},
"edidInfo": {
"resolution": {
"width": "string",
"height": "string"
},
"refreshRate": "string",
"isCustom": "string"
},
"isLimitToFull": true,
"range": 0,
"colorSpaceType": 0,
"colorGamut": 0,
"hdrParameter": {
"overrideHdrType": 0,
"pqMode": 0,
"pqMaxCllChecked": true,
"realHdrType": "string"
},
"blackLevelInfo": {
"shadow": {},
"highLight": {}
},
"capacity": "string"
}
}
Modified at 2024-07-09 11:01:54