Skip to content

Universal Splicer Controller System - API Documentation - V01

1.1 User Login

URL:/v1/user/login

Request Method: POST

Function Description: User login

Parameters:

Key NameTypeParameter DescriptionRemarks
usernamestringLogin name
passwordstringPassword

Return Value:

Key NameTypeParameter DescriptionRemarks
datastringReturns token code
messagestringReturns messageReturns both success and error messages
statusnumberReturns status code0: Success

1.2 User Logout

URL:/v1/user/logout

Request Method: GET

Function Description: User logout

Parameters:

Key NameTypeParameter DescriptionRemarks
tokenstringtoken编码

Return Value:

Key NameTypeParameter DescriptionRemarks
datastring
messagestringReturns messageReturns both success and error messages
statusnumberReturns status code0: Success

1.3 Change Password

URL:/v1/user/password/update

Request Method:POST

Function Description: Change password

Parameters:

Key NameTypeParameter DescriptionRemarks
tokenstringToken code
new_passwordstringNew password
old_passwordstringOld password
usernamestringUsername

Return Value:

Key NameTypeParameter DescriptionRemarks
datastring
messagestringReturns messageReturns both success and error messages
statusnumberReturns status code0: Success

2.1 Splicer Basic Information

URL:/v1/splicer/info

Request Method:GET

Function Description: Returns splicer information, including IP address, port, supported functions, etc.

Parameters:

Key NameTypeParameter DescriptionRemarks
tokenstringToken code

Return Value:

Key NameTypeParameter DescriptionRemarks
dataobject
messagestringReturns messageReturns both success and error messages
statusnumberReturns status code0: Success

data:

Key NameTypeParameter DescriptionRemarks
brandobject Brand
echo_modenumberEcho mode0 No Echo, 1 Mode 1, 2 Mode 2
has_wallsbooleanWhether there is a screen wall listWhether support fetching screen wall list
ipstringIPDevice IP
portnumberPortDevice Port
scene_deletebooleanWhether scenes can be deleted
scene_newbooleanWhether new scenes can be created
scene_switchbooleanWhether scenes can be switched
signal_groupbooleanWhether the signal source has grouping
switch_wallbooleanWhether the screen wall can be switched
versionstringVersion
walls_settingbooleanWhether screen wall settings can be modified
window_closebooleanWhether windows can be deleted
window_openbooleanWhether new windows can be created
window_signal_changebooleanWhether the signal of the window can be switched
window_size_changebooleanWhether the size of the window can be changed

2.2 Get Splicer Mode 1 Echo Screen

URL:/v1/splicer/echoscreen/mode1

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

data:

Key NameTypeDescriptionRemarks
listobject
picstringEcho screen composite imageBase64, needs a prefix, e.g., data:image/png;base64,${pic}
typenumberImage cutting method4: Cut image by interface coordinates

list:

Key NameTypeDescriptionRemarks
columnnumberColumn count
linenumberRow count
pos_infoarrayCoordinates of the signal source corresponding to the echo screen

pos_info[0]:

Key NameTypeDescriptionRemarks
channelnumberSignal source ID
modenumberMode
posarrayCoordinates of the signal source corresponding to the echo screenEach window corresponds to the signal source
pos_exarray

pos[0]:

Key NameTypeDescriptionRemarks

pos_ex[0]:

Key NameTypeDescriptionRemarks
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

2.3 Get Splicer Mode 2 Echo Screen

URL:/v1/splicer/echoscreen/mode2

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
signal_idnumberScreen wall ID

Return Values:

【回显画面图的实际片地址】


2.4 Get Logic Slot Template

URL:/v1/splicer/logicslot/template

Request Method: GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

data:

Key NameTypeDescriptionRemarks
idstringSlot template ID
posarray

pos[0]

Key NameTypeDescriptionRemarks
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

2.5 Update Logic Slot Template

URL:/v1/splicer/logicslot/template

Request Method: PUT

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
enable_logic_slotbooleanEnable virtual slots
logic_slot_infoarraySlot list

logic_slot_info[0]:

Key NameTypeDescriptionRemarks
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.6 Save Logic Slot Template

URL:/v1/splicer/logicslot/template

Request Method:POST

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
posarraySlot list

pos[0]

Key NameTypeDescriptionRemarks
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

返回值:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.6 Delete Logic Slot Template

URL:/v1/splicer/logicslot/template

Request Method:POST

Function Description:

Parameters:


Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
logic_template_idstringTemplate ID

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.7 Get Mapping of Logical Port to Physical Port

URL:/v1/splicer/portmap

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

data:

Key NameTypeDescriptionRemarks
outputarray
port_maparray

port_map[0]:

Key NameTypeDescriptionRemarks
portarrayPorts
wall_idnumberScreen wall ID

port[0]:

Key NameTypeDescriptionRemarks
logic_portnumberLogical port
phy_portnumberPhysical port

2.8 Bind Ports

URL:/v1/splicer/portmap

Request Method:POST

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
portarrayList of ports to bind
wall_idnumber"wall_id": 0

Port[0]:

Key NameTypeDescriptionRemarks
logic_portnumberLogical port
phy_portnumberPhysical port

Return Values::

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.9 Clear Mapping of Logical Port to Physical Port

URL:/v1/splicer/portmap

Request Method: DELETE

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.10 Synchronize with Hardware

URL:/v1/splicer/refresh/all

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.11 Delete Scene

URL:/v1/splicer/scene

Request Method:DELETE

Function Description: Delete a scene under a specific screen wall.

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

2.12 Scene List

URL:/v1/splicer/scene/list

Request Method: GET

Function Description: Get all scenes under a specific screen wall.

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: success

data:

Key NameTypeDescriptionRemarks
active_scene_idnumberCurrent active scene
scenesarrayList of scenes

scenes[0]:

Key NameTypeDescriptionRemarks
enablenumber
enable_logic_slotbooleanWhether to enable virtual slots
idnumberScene ID
indexnumberScene index
logic_slot_infoarrayVirtual slot list
main_voice_modenumberAudio mode
namestringScene name
windowsarrayList of windows in the scene (the windows array may be empty)

logic_slot_info[0]:

Key NameTypeDescriptionRemarks
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

windows[0]:

Key NameTypeDescriptionRemarks
enablebooleanWhether available (visible)
idnumberWindow ID
is_mutebooleanWhether muted
source_idnumberThe ID of the signal source bound to the window
volumenumberVolume
win_blend_coefnumber
win_levelnumberLevel when arranging windows
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

2.13 Create Scene

URL:/v1/splicer/scene/new

Request Method:POST

Function Description: Create a new scene under a screen wall.

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
new_namestringNew scene name
wall_idnumberScreen wall ID

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.14 Rename Scene

URL:/v1/splicer/scene/rename

Request Method:POST

Function Description: Rename a scene.

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
new_namestringNew scene name

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.15 Save Scene

URL:/v1/splicer/scene/save

Request Method:GET

Function Description: Save the scene after it has changed.

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumber
scene_idnumber

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.16 Scene Sorting

URL:/v1/splicer/scene/sort

Request Method:POST

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_sort_infoarrayScene sorting information

scene_sort_info[0]:

Key NameTypeDescriptionRemarks
scene_idnumberScene ID
sortindexnumberScene sort order

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.17 Scene Switching

URL:/v1/splicer/scene/switch

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumber
scene_idnumberScene ID

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.18 Set Window Audio

URL:/v1/splicer/scene/window/audio

Request Method:PUT

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
window_infoobjectWindow information

window_info:

Key NameTypeDescriptionRemarks
enablebooleanWhether available (visible)
idnumberWindow ID
is_mutebooleanWhether muted
source_idnumberID of the signal source associated with the window
volumenumberVolume
win_blend_coefnumber
win_levelnumberLevel when arranging windows
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.19 Close Window

URL:/v1/splicer/scene/window/close

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
win_idnumberWindow ID

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.20 Change Window Level

URL:/v1/splicer/scene/window/level

Request Method: GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
win_idnumberWindow ID
sourcenumberSignal source ID
levelnumberWindow level-1 for top, 0 for bottom, 1-n for level, where a higher n means a higher level

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.21 Get the List of Scene Windows Under the Screen Wall

URL:/v1/splicer/scene/window/list

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
win_idnumberWindow ID

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

data:

Key NameTypeDescriptionRemarks
enablebooleanWhether the window is visible
idnumberWindow ID
is_mutebooleanWhether muted
source_idnumberSignal source ID
volumenumberVolume
win_blend_coefnumber
win_levelnumberWindow level
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

2.22 Move Window

URL:/v1/splicer/scene/window/move

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
win_idnumberWindow ID
sourcenumberSignal source ID
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.23 Create Window

URL:/v1/splicer/scene/window/open

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
win_idnumberWindow ID
sourcenumberSignal source ID
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.24 Switch Window Signal Source

URL:/v1/splicer/scene/window/source

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID
scene_idnumberScene ID
win_idnumberWindow ID
sourcenumberSignal source ID
x0numberTop-left x-coordinate
x1numberBottom-right x-coordinate
y0numberTop-left y-coordinate
y1numberBottom-right y-coordinate

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.25 Signal List

URL:/v1/splicer/signal/list

Request Method:GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

data:

Key NameTypeDescriptionRemarks
signalsarraySignal source list

signals[0]:

Key NameTypeDescriptionRemarks
HZnumberRefresh rate
channelnumber
connect_channelnumber
enablebooleanWhether visible
extstring
heightnumberHeight
idstringSignal source ID
ipstringIP address
namestringSignal source name
typenumber
widthnumberWidth

2.26 Rename Signal Source

URL:/v1/splicer/signal/rename

Request Method:POST

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
new_namestringNew signal source name
sourceobjectSignal source

source:

Key NameTypeDescriptionRemarks
HZnumberRefresh rate
channelnumber
connect_channelnumber
enablebooleanVisibility
extstring
heightnumberHeight
idstringSignal source ID
ipstringIP address
namestringSignal source name
typenumber
widthnumberWidth

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.27 Edit Screen Wall

URL:/v1/splicer/wall

Request Method:POST

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
comb_columnnumberVertical count
comb_linenumberHorizontal count
heightnumberHeight
widthnumberWidth
enablebooleanUsability
led_modenumberLED mode
modenumberMode
namestringName
hznumberRefresh rate
screen_infoobjectLED settings
vmode_hnumnumberVirtual slot horizontal division
vmode_vnumnumberVirtual slot vertical division
wall_idstringScreen wall ID
sub_columnnumber
sub_linenumber
dis_hsizenumberWidth of resolution
dis_vsizenumberHeight of resolution

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.28 Delete Screen Wall

URL:/v1/splicer/wall

Request Method:DELETE

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
comb_columnnumberVertical count
comb_linenumberHorizontal count
heightnumberHeight
widthnumberWidth
enablebooleanUsability
led_modenumberLED mode
modenumberMode
namestringName
hznumberRefresh rate
screen_infoobjectLED settings
vmode_hnumnumberVirtual slot horizontal division
vmode_vnumnumberVirtual slot vertical division
wall_idnumberScreen wall ID
sub_columnnumber
sub_linenumber
dis_hsizenumberWidth of resolution
dis_vsizenumberHeight of resolution

Return Values:

Key NameTypeDescriptionRemarks
datastring
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

2.29 Screen Wall List

URL:/v1/splicer/wall/list

Request Method: GET

Function Description:

Parameters:

Key NameTypeDescriptionRemarks
tokenstringToken encoding
wall_idnumberScreen wall ID

Return Values:

Key NameTypeDescriptionRemarks
dataobject
messagestringReturn messageReturned for both success and error
statusnumberReturn status code0: Success

data:

Key NameTypeDescriptionRemarks
active_wall_idnumberCurrent active screen wall
wallsarrayList of screen walls

Walls[0]:

Key NameTypeDescriptionRemarks
comb_columnnumberColumns
comb_linenumberRows
dis_hsizenumber
dis_vsizenumber
enablebooleanVisibility
heightnumberHeight
hznumberScreen refresh rate
led_modebooleanLED mode
modenumberMode
namestringScreen name
screen_infoobjectScreen information
sub_columnnumber
sub_linenumber
vmode_hnumnumber
vmode_vnumnumber
wall_idnumberScreen ID
widthnumberWidth

screen_info:

Key NameTypeDescriptionRemarks
screen_heightnumberScreen Width
screen_widthnumberScreen Height
x_offsetnumberX Offset
y_offsetnumberY Offset