- Contents
- API Instructions
- Error Code
- General
- Input
- Screen
- Image booster
- Layer
- Processing
- Canvas
- Preset
- Schedule
- Output
- Image Booster
- Retrieve Screen Properties InformationGET
- Retrieve the Number of Cabinets of the ScreenGET
- Retrieve Screen InformationGET
- Device
- Cabinet
Set Custom Gamut on a Screen-Basis
PUT
/api/v1/screen/output/customgamut
/api/v1/screen/output/customgamut
All
TIP
Request
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
array of:
screenId
string
Screen ID
colorGamutInfo
object
optional
targetGamut
object
optional
colorTemperature
number
optional
Example
[
{
"screenId": "string",
"colorGamutInfo": {
"targetGamut": {
"name": "string",
"gamut": {
"rLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
},
"gLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
},
"bLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
},
"wLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
}
}
},
"colorTemperature": 0
}
}
]
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 PUT 'http://127.0.0.1:8001/api/v1/screen/output/customgamut' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"screenId": "string",
"colorGamutInfo": {
"targetGamut": {
"name": "string",
"gamut": {
"rLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
},
"gLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
},
"bLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
},
"wLxy": {
"name": "string",
"lum": 0,
"cx": 0,
"cy": 0
}
}
},
"colorTemperature": 0
}
}
]'
Responses
🟢200Successful
application/json
Body
code
integer
optional
data
object
optional
message
string
optional
Example
{
"code": 0,
"data": {},
"message": "string"
}
Modified at 2024-07-09 11:01:54