HTTPS API Authentication Guide
HTTPS API Authentication Guide
HTTPS API
Due to the addition of authentication mechanism, it is necessary to first execute the authentication process, and
upon successful authentication, obtain the token. Subsequent API calls should include this token for verification.
Request authentication as a POST with the password parameter (value is the admin password of the requested
device):
POST /centralcontrol/authentication
{
"password": "0000"
}
If the request and validation are successful, a string of tokens will be obtained:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"token":"6118C27AAC154D79BFC955A4F63E3C42"
}
}
The obtained token field is filled in the "Authorization" field in the https request header as the authentication
check field value:
User-Agent: PostmanRuntime-ApipostRuntime/1.1.0
Cache-Control: no-cache
content-type: application/json
Accept: */*
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Authorization: Bearer 6118C27AAC154D79BFC955A4F63E3C42
Content-Length: 27
All subsequent requests need to bring the token in order to verify the success and perform the corresponding
functions. If accessing an app-related interface, the app name parameter needs to be included.
1
HTTPS API
When a business request is made and authentication fails, the following response example will be returned:
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":500
}
If the concurrent number of business requests exceeds ten, the server's concurrency limit mechanism will be
triggered, and the following response instance will be returned.
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":500
}
Admission service
1. Authentication
Basic Information
Method: POST
Path: /centralcontrol/authentication
Request Parameters:
Body:
Return Value:
2
HTTPS API
Note
Example of a request
POST /centralcontrol/authentication
{
"password": "0000"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"token":"6118C27AAC154D79BFC955A4F63E3C42"
}
}
Basic information
Basic information query/retrieval (This document includes system information, network information, device list.
For other system status, mute status, volume level, camera information, screen brightness, conference platform
list, please refer to the Control service.
Basic Information
Method: GET
Path: /centralcontrol/system/version
Request Parameters:
Body:
NULL
Return Value:
hardware string
Hardware version
3
HTTPS API
Note
Example of a request
GET /centralcontrol/system/version
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"model":"MeetingEye 500",
"firmware":"[Link]",
"hardware":"[Link].3.0.36",
"macaddress":"00:15:65:00:00:00",
"serialnumber":"506607D117000009",
"cc-version":"[Link]"
}
}
Basic Information
Method: GET
Path: /centralcontrol/network/info
Request Parameters:
Body:
NULL
Return Value:
network_info
4
HTTPS API
Port-type0:
0: Wired port 1
port-type int [0,1,2]
1: Wired port 2
2: Wireless port
IP type:
0: IPv4
mode int [0,1,2]
1: IPv6
2: IPv4 and IPv6
Note
Example of a request
GET /centralcontrol/network/info
{
}
Response Example
5
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data": {
"network-list": [
{
"type": 0,
"port-type": 2,
"mode": 0,
"ip": "",
"mask": "",
"gateway": "",
"primary-dns": "",
"second-dns": ""
},
{
"type": 0,
"port-type": 0,
"mode": 0,
"ip": "[Link]",
"mask": "[Link]",
"gateway": "[Link]",
"primary-dns": "[Link]",
"second-dns": "[Link]"
}
]
}
}
Basic Information
Method: GET
Path: /centralcontrol/system/devices
Supported Models Yealink RoomConnect, MeetingBoard 65 /86, MeetingEye 500/900, MeetingBar A10/A40
Request Parameters:
Body:
NULL
Return Value:
device_info
6
HTTPS API
Note
Example of a request
GET /centralcontrol/system/devices
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"device-list": [
{
"model":"UVC86",
"firmware":"[Link]",
"hardware":"[Link].3.0.36",
"macaddress":"00:15:65:00:00:00",
"serialnumber":"506607D117000009",
},
{
"model":"UVC84",
"firmware":"[Link]",
"hardware":"[Link].43.0.58",
"macaddress":"00:24:13:00:00:00",
"serialnumber":"803032E070000031",
}
]
}
}
Basic Information
Method: GET
Path: /centralcontrol/app/info
Request Parameters:
Body:
NULL
Return Value:
7
HTTPS API
app_list
Note
Example of a request
GET /centralcontrol/app/info
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"app-list": [
{
"id":"[Link]",
"name":"BYOD",
"version":"1.0"
},
{
"id":"[Link]",
"name":"投屏",
"version":"21.1.2-TS.2"
}
]
}
}
Basic Information
Method: GET
Path: /centralcontrol/system/call-state
Request Parameters:
8
HTTPS API
Body:
NULL
Return Value:
Note
Example of a request
GET /centralcontrol/system/call-state
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"call-state": "incoming",
"package": "[Link]"
}
}
Control service
Remote control of audio and video devices, displays, and entire machines, including obtaining status information
required for control.
Basic Information
Method: GET
Path: /centralcontrol/system/status
Request Parameters:
Body:
9
HTTPS API
NULL
Return Value:
System status:
status string [sleeping,wake-up] sleeping: Sleep
wake-up: Wake up
Note
Example of a request
GET /centralcontrol/system/status
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"status":"wake-up"
}
}
Basic Information
Method: POST
Path: /centralcontrol/system/status
Supported
NOTE
Models
1. Yealink RoomConnect/UVC only support restart and factory reset.
2. Only Yealink RoomConnect supports passing the sn parameter.
Request Parameters:
Body:
10
HTTPS API
System status:
sleeping: Sleep
status string [sleeping,wake-up,reboot,reset] Yes wake-up: Wake up
reboot: Reboot
reset: Factory restore
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/system/status
{
"status":"sleeping",
"sn":"506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
2. Audio control
Basic Information
Method: GET
Path: /centralcontrol/audio/mute
Request Parameters:
Body:
NULL
Return Value:
Mute status:
status string [on,off] on: On
off: Off
Note
Example of a request
11
HTTPS API
GET /centralcontrol/audio/mute
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"status":"on"
}
}
Basic Information
Method: POST
Path: /centralcontrol/audio/mute
Request Parameters:
Body:
Mute status:
status string [on,off] Yes on: On
off: Off
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/mute
{
"status": "off",
"sn":"506607D117000009"
}
12
HTTPS API
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/button
NOTE
Supported
The operation of this interface is inversely related to the actual microphone status:
Models
when the current status is unmuted, it will be muted after the post; when the current
status is muted, it will be unmuted after the post.
Request Parameters:
Body:
** Return Value:
NULL
Note
Example of a request
POST /centralcontrol/button
{
"key": "mute"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: GET
13
HTTPS API
Path: /centralcontrol/audio/volume
NOTE
1. When UVC and AVHub devices request this interface, there is no need to include
Supported
parameters.
Models
2. MeetingBoard 65 /86, MeetingEye 500/900, MeetingBar A10/A40 can optionally include
a volume type parameter, with the default being idle.
Request Parameters:
Body:
Volume type:
type string [idle,talk] No idle: Ringer volume
talk: Call volume
Return Value:
Note
Example of a request
GET /centralcontrol/audio/volume
{
"type": "talk"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"value":5
}
}
Basic Information
Method: POST
Path: /centralcontrol/audio/volume
14
HTTPS API
Supported NOTE
Models MeetingBoard 65/86, MeetingEye 500/900, MeetingBar A10/A40 optionally fill volume
type parameters, default to idle (idle and talk volume will be synchronized).
Request Parameters:
Body:
Volume type
type string [idle,talk] No idle: Ringer volume
talk: Call volume
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/volume
{
"type": "idle",
"value": 3
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/input-source
Request Parameters:
Body:
15
HTTPS API
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/input-source
{
"type": "auto"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/output-source
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
16
HTTPS API
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/output-source
{
"type": "vcm40"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/input/noise-reduction
Yealink RoomConnect
NOTE
Supported
1. Models compatible with AI-mode: AVHub, UVC84, UVC86.
Models
2. Models compatible with level: AVHub, UVC84, UVC86, VCM34, VCM35, VCM38,
CM20.
Request Parameters:
Body:
17
HTTPS API
Name Typology
Range of Values Compulsory Parameter Description
Inhibition Level:
0: Off
level int [0,1,2.3] No 1: Weak
2: Normal
3: Strong
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/input/noise-reduction
{
"sn":"506607D117000009",
"ai-mode": "on",
"level":2
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic information:
Method: POST
Path: /centralcontrol/audio/input/gain
Yealink RoomConnect
Supported NOTE
Models The parameters "rca-value" and "line-value" only take effect on AVhub when
adjusting the device.
Request parameters:
Body:
18
HTTPS API
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/input/gain
{
"status":"on",
"sn":"506607D117000009",
"gain-value":20,
"rca-value":-6,
"line-value":12
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/input/echo-cancellation
Request Parameters:
Body:
19
HTTPS API
Manual delay:
manual-dalay string [on,off] No on: Turn on
off: Turn off
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/input/echo-cancellation
{
"status":"on",
"sn":"506607D117000009",
"suppress-level":1,
"reverb-level":0,
"manual-dalay":"on",
"delay-value":200
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/input/equalizer
Request Parameters:
Body:
20
HTTPS API
Equalizer status:
status string [on,off] Yes on: Enable
off: Disable
Equalizer mode:
[custom,bass-
custom: Custom
boost, <br> trebl
mode string Yes bass-boost: Bass boost
e-boost,vocal-
treble-boost: Treble boost
boost]
vocal-boost: Vocal boost
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/input/equalizer
{
"sn":"506607D117000009",
"status": "on",
"mode":"custom",
"frequency-range-list":[12,5,-12,3,6,10,-5,2,0,3,9]
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/output/gain
Request Parameters:
Body:
21
HTTPS API
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/output/gain
{
"status":"on",
"sn":"506607D117000009",
"gain-value":20,
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
Basic Information
Method: POST
Path: /centralcontrol/audio/output/equalizer
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
Equalizer status:
status string [on,off] Yes on: Enable
off: Disable
22
HTTPS API
Equalizer mode:
[custom,bass-
custom: Custom
boost, <br> trebl
mode string Yes bass-boost: Bass boost
e-boost,vocal-
treble-boost: Treble boost
boost]
vocal-boost: Vocal boost
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/audio/output/equalizer
{
"sn":"506607D117000009",
"status": "on",
"mode":"custom",
"frequency-range-list":[12,5,-12,3,6,10,-5,2,0,3,9]
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
3. Camera control
Basic Information
Method: POST
Path: /centralcontrol/camera/move
23
HTTPS API
NOTE
1. Yealink RoomConnect and AVHub require the sn parameter to be included in the
command.
2. The sn parameter for MeetingBar A10/A40 is optional.
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
Supported parameter can be optionally filled. However, if there are multiple cameras, the sn
Models parameter should be used to specify the correct camera for the intended operation.
4. UVC devices and SmartVision 40 do not require the sn parameter to be included.
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
NOTE
If the command is requested with the sn
sn string NULL No parameter, it means that the control is for
the device with the specified sn, otherwise
the control is for the first device in the
camera list.
Return Value:
NULL
Note
Example of a request
24
HTTPS API
POST /centralcontrol/camera/move
{
"direction": "up",
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera/zoom
NOTE
1. Yealink RoomConnect and AVHub require the sn parameter to be included in the
Supported command.
Models 2. The sn parameter for MeetingBar A10/A40 is optional.
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
parameter can be optionally filled. However, if there are multiple cameras, the sn
parameter should be used to specify the correct camera for the intended operation.
4. UVC devices and SmartVision 40 do not require the sn parameter to be included.
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
25
HTTPS API
NOTE
If the command is requested with the sn
sn string NULL No parameter, it means that the control is for
the device with the specified sn, otherwise
the control is for the first device in the
camera list.
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera/zoom
{
"direction": "in",
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: GET
Path: /centralcontrol/camera/position
NOTE
1. Yealink RoomConnect and AVHub require the sn parameter to be included in the
Supported command.
Models 2. The sn parameter for MeetingBar A10/A40 is optional.
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
parameter can be optionally filled. However, if there are multiple cameras, the sn
parameter should be used to specify the correct camera for the intended operation.
4. UVC devices and SmartVision 40 do not require the sn parameter to be included.
26
HTTPS API
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
NOTE
If the command is requested with the sn
sn string NULL No
parameter, it means that the device with
the specified sn is acquired, otherwise the
first device in the camera list is acquired.
Return Value:
x-axis coordinates
y-axis coordinates
Note
Example of a request
GET /centralcontrol/camera/position
{
"sn": "506607D117000009"
}
Response Example
27
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"x":1050.5,
"y":500,
"z":-280
}
}
Basic Information
Method: POST
Path: /centralcontrol/camera/position
NOTE
1. Yealink RoomConnect and AVHub require the sn parameter to be included in the
Supported command.
Models 2. The sn parameter for MeetingBar A10/A40 is optional.
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
parameter can be optionally filled. However, if there are multiple cameras, the sn
parameter should be used to specify the correct camera for the intended operation.
4. UVC devices and SmartVision 40 do not require the sn parameter to be included.
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
NOTE
If the command is requested with the sn
sn string NULL No
parameter, it means that the device
with the specified sn is acquired,
otherwise the first device in the camera
list is acquired.
28
HTTPS API
x-axis coordinates
Reference
range: [0~3360] NOTE
There are model Limited by the focal length value, the
x double differences, Yes input parameter is double type. Even if
subject to it is an integer value, it must have a
actual decimal point, otherwise it cannot be
acquisition executed successfully.
y-axis coordinates
Reference
range: [0~1890] NOTE
There are model Limited by the focal length value, the
y double differences, Yes input parameter is double type. Even if
subject to it is an integer value, it must have a
actual decimal point, otherwise it cannot be
acquisition executed successfully.
Focus
NOTE
Reference The input parameter is double type.
range: [-1890~0] Even if it is an integer value, it must
There are model have a decimal point, otherwise it
z double differences, Yes cannot be executed successfully.
subject to
actual
acquisition
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera/position
{
"x":1050.0,
"y":500.0,
"z":-280.0,
"sn": "506607D117000009"
}
29
HTTPS API
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: GET
Path: /centralcontrol/camera/list
Request Parameters:
Body:
NULL
Return Value:
Note
Example of a request
GET /centralcontrol/camera/list
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"sn-list":["803032E070000031"]
}
}
Basic Information
Method: GET
Path: /centralcontrol/camera/detail
Supported Models MeetingBoard 65/86, MeetingEye 500/900, MeetingBar A10/A40, Yealink RoomConnect
30
HTTPS API
Request Parameters:
Body:
Return Value:
ip string Camera IP
sn string Camera sn
Note
Example of a request
GET /centralcontrol/camera/detail
{
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"ip":"[Link]",
"mac":"80:5E:C0:60:00:62",
"name":"Yealink UVC84 -1",
"firmware":"[Link]",
"hardware":"[Link].0.0.0",
"spec":"PTZ 12x Optical Zoom",
"model":"UVC84",
"sn":"506607D117000009"
}
}
Basic Information
31
HTTPS API
Method: POST
Path: /centralcontrol/camera/ai-mode
NOTE
1. Yealink RoomConnect requires the 'sn' parameter to be included in the command.
MeetingBar A10/A40 has an optional sn parameter. A10 supports the following modes:
ptz, auto-frame, speaker-tracking, view-cropping, multi-screen, pip.
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
parameter can be optionally filled. However, if there are multiple cameras, the sn
parameter should be used to specify the correct camera for the intended operation.
4. UVC40 does not require the 'sn' parameter to be included. UVC40 supports the
Supported following modes: “ptz, auto-frame, speaker-tracking”.
Models 5. After connecting MeetingEye 500 to UVC86, the supported modes include: ptz, auto-
frame, speaker-tracking, smart-gallery, presenter-tracking. When connected to UVC84, it
supports the “ptz, auto-frame mode.
6. MeetingBoard 65/86 supports the following modes: ptz, auto-frame, speaker-tracking,
multi-screen, pip, smart-gallery, presenter-tracking
7.UVC86 does not require the sn parameter and only supports modes such as ptz, auto-
frame, speaker-tracking, multi-screen, presenter-tracking.
8. SmartVision 40 does not require the sn parameter and only supports modes such as
ptz, auto-frame, speaker-tracking, multi-screen, intelli-focus.
9. AVHub requires the sn parameter and only supports modes such as ptz, auto-frame,
speaker-tracking, multi-screen, presenter-tracking.
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
Mode type:
ptz: Manual control
[ptz,auto-frame, auto-frame: Auto-framing
speaker-tracking, speaker-tracking: Speaker tracking
view-cropping, view-cropping: View cropping
multi-screen,smart- multi-screen: Multi-focus
type string Yes
gallery,pip,multi- smart-gallery: Smart gallery/Multi-flow
pip,presenter- mode
tracking,intelli- pip: Picture-in-picture
focus] multi-pip: Multi-split + Picture-in-picture
presenter-tracking: Presenter-tracking
intelli-focus: IntelliFocus
32
HTTPS API
NOTE
If the command is requested with
sn string NULL No the sn parameter, it means that the
device with the specified sn is
acquired, otherwise the first device
in the camera list is acquired.
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera/ai-mode
{
"type": "ptz",
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera/preset/recall
NOTE
1. Yealink RoomConnect and AVHub require the sn parameter to be included in the
command.
Supported
2. The sn parameter for MeetingBar A10/A40 is optional.
Models
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
parameter can be optionally filled. However, if there are multiple cameras, the sn
parameter should be used to specify the correct camera for the intended operation.
4. UVC devices and SmartVision 40 do not require the sn parameter to be included.
Request Parameters:
33
HTTPS API
Body:
Return Value:
NULL
Note
Example of a request
1POST /centralcontrol/camera/preset/recall
{
"id": 1,
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera/preset
NOTE
1. Yealink RoomConnect and AVHub require the sn parameter to be included in the
command.
Supported
2. The sn parameter for MeetingBar A10/A40 is optional.
Models
3. For MeetingBoard 65/86 and MeetingEye 500/900, if there is only one camera, the sn
parameter can be optionally filled. However, if there are multiple cameras, the sn
parameter should be used to specify the correct camera for the intended operation.
4. UVC devices and SmartVision 40 do not require the sn parameter to be included.
Request Parameters:
Body:
34
HTTPS API
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera/preset
{
"id": 1,
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera/keep-alive/switch
Yealink RoomConnect
Request Parameters:
Body:
Return Value:
NULL
Note
35
HTTPS API
Example of a request
POST /centralcontrol/camera/keep-alive/switch
{
"status: "on",
"sn": "506607D117000009"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera/video-fence/switch
Yealink RoomConnect
Request Parameters:
Body:
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera/video-fence/switch
{
"status: "on",
"sn": "506607D117000009"
}
36
HTTPS API
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera/multi-camera-tracking-function
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
Type:
close: Closed
[close,multi-camera-
multi-camera-intellifocus:
type string intellifocus, Yes
IntelliFocus
mic-camera-linkage]
mic-camera-linkage: Mic and
camera Linkage
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera/multi-camera-tracking-function
{
"type: "multi-camera-intellifocus"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
4. Display control
37
HTTPS API
Basic Information
Method: GET
Path: /centralcontrol/screen/brightness
Request Parameters:
Body:
NULL
Return Value:
Note
Example of a request
GET /centralcontrol/screen/brightness
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"value":60
}
}
Basic Information
Method: POST
Path: /centralcontrol/screen/brightness
Request Parameters:
Body:
Return Value:
NULL
Note
38
HTTPS API
Example of a request
POST /centralcontrol/screen/brightness
{
"value":60
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/screen/input-source
Request Parameters:
Body:
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/screen/input-source
{
"type": "windows"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
39
HTTPS API
5. Multi-mode control
Basic Information
Method: GET
Path: /centralcontrol/meeting-platform/mode-list
Supported NOTE
Models The returned meeting platform is based on the meeting platform installed in the
device.
Request Parameters:
Body:
NULL
Return Value:
Note
Example of a request
GET /centralcontrol/meeting-platform/mode-list
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"mode-list":["ume","yms","zoom"]
}
}
40
HTTPS API
Basic Information
Method: POST
Path: /centralcontrol/meeting-platform
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/meeting-platform
{
"type": "ume"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: GET
Path: /centralcontrol/meeting-platform/current-mode
Request Parameters:
Body:
41
HTTPS API
NULL
Return Value:
Note
Example of a request
GET /centralcontrol/meeting-platform/current-mode
{
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"name":"zoom"
}
}
6. Wireless Control
Basic Information
Method: POST
Path: /centralcontrol/bluetooth
Request Parameters:
Body:
Bluetooth status:
status string [on,off] Yes off: Off
on: On
Return Value:
NULL
Note
Example of a request
42
HTTPS API
POST /centralcontrol/bluetooth
{
"status": "on"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera-layout/switch
Request Parameters:
Body:
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera-layout/switch
{
"status": "on"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
43
HTTPS API
Basic Information
Method: POST
Path: /centralcontrol/camera-layout/type
NOTE
1. The type parameter for the MeetingEye 500 can have values of fullscreen, divide, and
1xN.
2. Yealink RoomConnect supports the type parameter with values of fullscreen, div2 to
div9, 1x1 to 1x8, and pip. When setting the fullscreen mode, you need to use the Set
Supported
Camera Layout/Camera Position feature to specify the camera with position 0 to apply
Models
the fullscreen mode.
[Link] Yealink RoomConnect includes the small-screen-position, small-screen-size,
main-screen-type, and second-screen-type parameters, and these four parameters only
apply to the Picture-in-Picture layout.
[Link] Yealink RoomConnect supports the sn parameter.
[Link] MeetingEye 500 supports the focus-camera parameter.
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
Layout type:
fullscreen: Single full-screen layout
[fullscreen, div2~div9, div2~div9: Two-split~nine-split layout
type string 1x1~1x8, 1xN, divide, Yes divide: Equal split layout
pip] 1xN: 1+N layout
1x1~1x8: 1+1~1+8 layout
pip: PiP layout
44
HTTPS API
Return Value:
NULL
Note
Example of a request (YRC)
45
HTTPS API
POST /centralcontrol/camera-layout/type
{
"type": "fullscreen",
"sn":"8703018090000132",
"pip-param":
{
"small-screen-position":"top-left",
"small-screen-size":"one-fourth",
"main-screen-type":"panorama",
"second-screen-type":"auto-frame"
}
}
POST /centralcontrol/camera-layout/type
{
"type": "fullscreen",
"focus-camera": "8703018090000132"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera-layout/position
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
Yes(AVhub
position-list object NULL Getting a list of cameras
)
Yes(AVhub
>> sn Camera unique identification
)
46
HTTPS API
Yes(AVhub
>> width [0~1920] Width of the camera layout screen display
)
Yes(AVhub
>> height [0~1080] Height of the camera layout screen display
)
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera-layout/position
{
"position-list":[
{
"sn":"806009E070000512",
"left":0,
"top":134,
"width":1440,
"height":810
},
{
"sn":"806007D120000442",
"left":1440,
"top":134,
"width":480,
"height":270
}
]
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/camera-layout/position
Request Parameters:
Body:
47
HTTPS API
Name Typology
Range of Values Compulsory Parameter Description
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/camera-layout/position
{
"sn":"8703018090000132",
"position": 4
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Layout positions follow left-to-right order, with equal divisions based on the maximum quantity of 1+N as a
reference:
Equal parts:
1+N:
48
HTTPS API
Basic Information
Method: GET
Path: /centralcontrol/camera-layout/type
MeetingEye 500
Supported NOTE
Models The value range for the type parameter of MeetingEye 500 is fullscreen, divide,
1xN.
Request Parameters:
Body:
NULL
Return Value:
Layout type:
[fullscreen,1xN,d fullscreen: Single full-screen layout
type string
ivide] divide: Equal split layout
1xN: 1+N layout
focus- string NULL The unique identifier of the camera in the layout for the
camera large image display.
Note
Example of a request
GET /centralcontrol/camera-layout/type
{
}
Response Example
49
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"type":"fullscreen",
"focus-camera":"8703018090000132"
}
}
8. App control
Basic Information
Method: POST
Path: /centralcontrol/app/start
Request Parameters:
Body:
Compulsor Parameter
Name Typology Range of Values
y Description
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/app/start
{
"id": "[Link]"
}
Response Example
Error code description
50
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
parameter error:
{
"status":400
}
9. Other
Basic Information
Method: POST
Path: /centralcontrol/button
Request Parameters:
Body:
Compulsor Parameter
Name Typology Range of Values
y Description
[power,F1,F2,F3,volume+,volume-
,zoom+,zoom-,up, Remote control
key string Yes
down,right,left,select,mute,back,call,delet button name
e,hangup,0~9*#]
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/button
{
"key": "left"
}
Response Example
51
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
Path: /centralcontrol/splitroom/status
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
NOTE
When AVHub is already interconnected and
the Divisible Room function is enabled, if
you need to split or merge rooms, please
perform the split or merge operation on the
specific rooms via YRC. Do not directly
value int [0~3] Yes
disable the Divisible Room function. If you
disable the Divisible Room function, you will
need to disconnect the cables connected to
the AVHub CodeC port.
1: Standalone mode
2: Merged room
3: Master room
Return Value:
NULL
Note
Example of a request
52
HTTPS API
POST /centralcontrol/splitroom/status
{
"sn":"8703018090000132",
"value": 1
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Health services
Basic Information
Method: POST
Path: /centralcontrol/system/log-server
Supported NOTE
Models 1. When the log server is turned off, other parameters can be omitted, otherwise must
be accompanied by ``
2. It is recommended to use parameters: facility(16), level(6), transport-type(0).
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
53
HTTPS API
Transmission type:
transport- 0: UDP
int [0,1,2] Yes
type 1: TCP
2: TLS
Return Value:
NULL
Note
Example of a request
54
HTTPS API
POST /centralcontrol/system/log-server
{
"enable": 1,
"server":"[Link]",
"port":514,
"facility":1,
"level":6,
"transport-type":0
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: GET
Path: /centralcontrol/diagnostics/log
Supported Models Yealink RoomConnect, MeetingBoard 65 /86, MeetingEye 500/900, MeetingBar A10/A40
Request Parameters:
Body:
NULL
Return Value:
Range of
Name Typology Parameter Description
Values
Note
Example of a request
GET /centralcontrol/diagnostics/log
{
}
Response Example
55
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
file
3. Network diagnosis
Basic Information
Method: POST
Path: /centralcontrol/diagnostics/network
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
Return Value:
Note
Example of a request
POST /centralcontrol/diagnostics/network
{
"action": "ping",
"num": 5,
"ip": "[Link]",
}
Response Example
56
HTTPS API
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"result": "PING [Link] ([Link]) 56(84) bytes of data.
64 bytes from [Link]: icmp_seq=1 ttl=64 time=0.164 ms
64 bytes from [Link]: icmp_seq=2 ttl=64 time=0.087 ms
64 bytes from [Link]: icmp_seq=3 ttl=64 time=0.091 ms
参数错误:
{
"status":400
}
Basic Information
Method: POST
Path: /centralcontrol/diagnostics/packetcapture
NOTE
1. If the captured packet data cache reaches 5M, only then can you use the GET method
to retrieve the captured packet data. The data will be cleared after using GET until
Supported
reaching 5M, then data will be available again.
Models
2. If real-time data retrieval is not required, it is recommended to stop capturing the
current collected packet data directly.
3. Capturing 5MB of packets is necessary because if the cache is too small, asynchronous
packet capturing may result in incomplete packet data.
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
Filtering by
IP, port,
filter string protocol, No Filter condition
etc. is
possible.
57
HTTPS API
wan:
currently Yes (start
interface string active capturing Interface name
network packets)
interface
0: Custom
1: SIP or
Yes (start
H245 or
filter-type int capturing Filter type; the filter takes effect if the value is 0.
H225
packets)
2: RTP
3: Not RTP
NOTE
1. It is recommended to send the get
start: start
command every 5 minutes after starting the
capturing
packet capturing to obtain the packet
packets
capture file. The packet capture files need
stop: stop
to be concatenated by yourself (you may
operation string capturing Yes
get empty files because the device side has
packets
not yet generated the file at this time); if
get: retrieve
more than 10 minutes have passed without
captured
getting, it is considered to abandon the
packet files
most recent packet capture file and stop
capturing.
2. When stopping, the device side responds
that the most recent file has not been
uploaded.
Return Value:
File:
Range of
Name Typology Parameter Description
Values
Note
Example of a request
58
HTTPS API
POST /centralcontrol/diagnostics/packetcapture
{
"filter": "",
"interface": "wan",
"filter-type": 2,
"operation": "start"
}
{
"operation": "get"
}
{
"operation": "stop"
}
Response Example
When the start operation is successful, the response for capturing packets begins:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
}
When the get/stop operation is performed, the device end has already generated the file and sent it.
HTTP/1.1 200 OK
Content-Type: application/octet-stream
file
5. Alarm
Basic Information
Method: GET
Path: /centralcontrol/diagnostics/alert
59
HTTPS API
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
critical:
severe
major: If severity is not specified, it defaults to
severity string No
primary critical.
minor: minor
all: all
Return Value:
alert_list
Parameter
Name Typology Range of Values
Description
critical: severe
severity string major: primary NULL
minor: minor
Device mac
mac string NULL
address
Note
Example of a request
60
HTTPS API
GET /centralcontrol/diagnostics/alert
{
"severity": "major",
"from-time": 1701138336
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"alert-list": [
{
"name": "Update Configuration failure",
"severity": "major",
"action-time": 1701138336,
"mac": "00:00:00:00:00:00",
"ip": "[Link]"
},
{
"name": "Dsk slave disconnect",
"severity": "critical",
"action-time": 1701138336,
"mac": "00:00:00:00:00:00",
"ip": "[Link]"
}
]
}
}
Update service
Update the firmware of the device itself and its peripheral accessories.
1. Device upgrade
Basic Information
Method: POST
Path: /centralcontrol/upgrade/firmware/start
NOTE
Supported 1. Only Yealink RoomConnect supports passing sn and device parameters. Fill in at least
Models one of the sn and device parameters.
2. In theory, only one of sn and device should be filled in. If both are filled in, only the sn
parameter will take effect.
61
HTTPS API
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
Upgrade time
time int -1~23 No -1: Upgrade immediatly
0~23: Upgrade time
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/upgrade/firmware/start
{
"sn":"803032E070000031",
"url": "[Link]
"time":-1
}
POST /centralcontrol/upgrade/firmware/start
{
"device":"uvc86",
"url": "[Link]
"time":-1
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: POST
62
HTTPS API
Path: /centralcontrol/upgrade/firmware/cancel
Yealink RoomConnect
NOTE
Supported
1. Fill in either SN or device theoretically. If both are filled in at the same time, only the
Models
SN parameter will take effect.
2. If neither SN nor device is filled in, all upgrades will be canceled.
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/upgrade/firmware/cancel
{
"sn":"803032E070000031"
}
POST /centralcontrol/upgrade/firmware/cancel
{
"deivce":"uvc84"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200
}
Basic Information
Method: GET
63
HTTPS API
Path: /centralcontrol/upgrade/firmware/status
Request Parameters:
Body:
Range of Compulsor
Name Typology Parameter Description
Values y
Return Value:
Download status:
downloading: Downloading
[downloading,upgrading
status string upgrading: Upgrading
,success,fail]
success: Success
fail: Failed
Note
Example of a request
GET /centralcontrol/upgrade/firmware/status
{
"sn":"803032E070000031"
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status":200,
"data":
{
"status":"upgrading",
"progress": 48
}
}
Configuration service
64
HTTPS API
Method: POST
Path: /centralcontrol/config/update
Request Parameters:
Body:
Compulsor
Name Typology Range of Values Parameter Description
y
Return Value:
NULL
Note
Example of a request
POST /centralcontrol/config/update
{
"url": "[Link]
}
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"status": 200
}
Device busy:
{
"status": 400
}
65