- Contents
- API Instructions
- Error Code
- General
- Retrieve Screen InformationGET
- Set Screen BrightnessPUT
- Set Screen GammaPUT
- Set Blackout/Freeze ScreenPUT
- Retrieve Preset InformationGET
- Apply PresetPOST
- Retrieve All Cabinet InformationGET
- Enable Cabinet MappingPUT
- Retrieve Input Source ListGET
- Switch Source for LayerPUT
- Set EDIDPUT
- Set Screen Color TemperaturePUT
- Input
- Screen
- Device
- Cabinet
Retrieve Input Source List
GET
/api/v1/device/input/sources
/api/v1/device/input/sources
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/sources'
Responses
🟢200Successful
application/json
Body
id
integerÂ
Source ID
cardId
integerÂ
Card ID
type
integerÂ
Input interface type: HDMI, SDI, etc. [0: DVI, 1: DualDVI, 2: HDMI1.4, 3: HDMI 2.0, 4: DP 1.1, 5: DP 1.2, 6 DP 1.4, 7: 3G SDI, 8: 6G SDI, 9: 12G SDI, 10: PiP Video, 11: HDMI 1.2, 12: HDMI 2.1, 13: Internal Source]
name
stringÂ
Input source name
order
integerÂ
Source order (internal use only)
step
integerÂ
Step (internal use only)
supportFrameRate
stringÂ
All supported frame rates (internal use only)
supportResolution
stringÂ
All supported resolutions (internal use only)
maxwidth
integerÂ
Maximum resolution width supported (internal use only)
maxheight
integerÂ
Maximum resolution height supported (internal use only)
minwidth
integerÂ
Minimum resolution width supported (internal use only)
minheight
integerÂ
Minimum resolution height supported (internal use only)
actualResolution
objectÂ
The actual resolution
height
integerÂ
Width
width
integerÂ
Height
actualRefreshRate
numberÂ
Actual frame rate
bitDepth
integerÂ
Input source bit depth (internal use only)
colorSpace
stringÂ
Video format (internal use only)
dynamicRange
stringÂ
Dynamic range (internal use only)
gamut
stringÂ
Color gamut (internal use only)
range
integerÂ
0x00: limit, 0x01: full
scanMode
integerÂ
0x00: progressive scanning, 0x01: Interlace Scanning
inPhase
booleanÂ
Whether in phase (internal use only)
defaultEDID
objectÂ
Default resolution
resolution
objectÂ
Resolution
refreshRate
numberÂ
Refresh rate
isCustom
booleanÂ
Indicates whether the default EDID configuration is customized.
usable
booleanÂ
Connector usage status (internal use only)
groupId
integerÂ
Source group ID
isSupportHDR
booleanÂ
Whether HDR is supported
isSupportMetaData
booleanÂ
Whether MetaData is supported
isSupportEDID
booleanÂ
Whether EDID settings are supported
isSupportInputOverride
booleanÂ
Whether InfoFrame Override is supported
isSupportColorAdjust
stringÂ
Whether color adjustment is supported
sourceChannel
integerÂ
Source number (unique within the card, for input view, internal use only)
metaData
objectÂ
MetaData (internal use only)
minMasterDisplayLight
numberÂ
Min display mastering luminance
maxMasterDisplayLight
numberÂ
Max display mastering luminance
maxContentLight
numberÂ
Max content light level (MaxCLL)
maxFrameAvgLight
numberÂ
Max frame-average light level (MaxFLL)
whitePointX
numberÂ
Whitepoint coordinate X
whitePointY
numberÂ
Whitepoint coordinate Y
hDRParams
objectÂ
HDRParams (internal use only)
overrideHdrType
integerÂ
Current mode
pqMode
integerÂ
PQ mode
pqMaxCllChecked
booleanÂ
Whether MaxCLL override is enabled
pqMaxCll
integerÂ
MaxCLL value
realHdrType
integerÂ
Real mode
isSupportHDRParams
booleanÂ
Whether HDR10 parameters are supported
isSupportPQMaxCllChecked
booleanÂ
Whether HDR10 override is supported
hdrList
array[integer]
HDR list
isEdidCustom
booleanÂ
Indicates whether it is customized EDID
sourceStatus
integerÂ
Source link status
Example
{
"id": 0,
"cardId": 0,
"type": 0,
"name": "string",
"order": 0,
"step": 0,
"supportFrameRate": "string",
"supportResolution": "string",
"maxwidth": 0,
"maxheight": 0,
"minwidth": 0,
"minheight": 0,
"actualResolution": {
"height": 0,
"width": 0
},
"actualRefreshRate": 0,
"bitDepth": 0,
"colorSpace": "string",
"dynamicRange": "string",
"gamut": "string",
"range": 0,
"scanMode": 0,
"inPhase": true,
"defaultEDID": {
"resolution": {
"width": 0,
"height": 0
},
"refreshRate": 0,
"isCustom": true
},
"usable": true,
"groupId": 0,
"isSupportHDR": true,
"isSupportMetaData": true,
"isSupportEDID": true,
"isSupportInputOverride": true,
"isSupportColorAdjust": "string",
"sourceChannel": 0,
"metaData": {
"minMasterDisplayLight": 0,
"maxMasterDisplayLight": 0,
"maxContentLight": 0,
"maxFrameAvgLight": 0,
"whitePointX": 0,
"whitePointY": 0
},
"hDRParams": {
"overrideHdrType": 0,
"pqMode": 0,
"pqMaxCllChecked": true,
"pqMaxCll": 0,
"realHdrType": 0
},
"isSupportHDRParams": true,
"isSupportPQMaxCllChecked": true,
"hdrList": [
0
],
"isEdidCustom": true,
"sourceStatus": 0
}
Modified at 2024-07-09 11:01:54