- 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
Modify Preset
POST
/api/v1/preset/update
/api/v1/preset/update
All
TIP
Request
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
screenID
string
Screen ID
preset
object
required
sequenceNumber
integer
Preset number
name
string
Preset Name
sourceData
boolean
Whether to modify the input source-related information for the preset
processingData
boolean
Whether to modify the processing-related information for the preset
outputData
boolean
Whether to modify the output-related information for the preset
screenData
boolean
Whether to modify the screen-related information for the preset
effectSwitch
integer
Transition through black enabled or not
Example
{
"screenID": "string",
"preset": {
"sequenceNumber": 0,
"name": "string",
"sourceData": true,
"processingData": true,
"outputData": true,
"screenData": true,
"effectSwitch": 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 POST 'http://127.0.0.1:8001/api/v1/preset/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"screenID": "string",
"preset": {
"sequenceNumber": 0,
"name": "string",
"sourceData": true,
"processingData": true,
"outputData": true,
"screenData": true,
"effectSwitch": 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