- API Access Guide
- Common HTTP Status Codes
- VNNOX
- Player
- Solutions
- Real-Time Control
- Scheduled Control
- Logs
- Notifications
- VNNOXCare
- Notes
- Device Status Monitoring
- Brightness Log
- Others
- Third-Party System Authorization
Single-Page Emergency Insertion Solutions
US
US
POST
/v2/player/emergency-program/page
TIP
1.
2.
3.
Request
Header Params
AppKey
string
required
Default:
{{AppKey}}
Nonce
string
required
CurTime
string
required
CheckSum
string
required
Body Params application/json
playerIds
array[string]
required
attribute
object
required
spotsType
string
required
normalProgramStatus
string
required
duration
number
required
timingTime
string
optional
backgroundColor
string
optional
page
array [object {2}]
required
name
string
required
widgets
array [object {9}]
required
Example
{
"playerIds": [
"52a66b84e5e241908a5dd317e82556d8"
],
"attribute": {
"duration": 20000,
"normalProgramStatus": "PAUSE",
"spotsType": "IMMEDIATELY"
},
"page": {
"name": "a-immediately",
"widgets": [
{
"duration": 10000,
"inAnimation": {
"duration": 1000,
"type": "NONE"
},
"layout": {
"height": "20%",
"width": "100%",
"x": "0%",
"y": "60%"
},
"md5": "8330dcaa949ceeafa54a66e8ad623300",
"size": 25943,
"type": "PICTURE",
"url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
"zIndex": 1
}
]
}
}
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 --request POST 'https://open-us.vnnox.com/v2/player/emergency-program/page' \
--header 'AppKey;' \
--header 'Nonce;' \
--header 'CurTime;' \
--header 'CheckSum;' \
--header 'Content-Type: application/json' \
--data-raw '{
"playerIds": [
"52a66b84e5e241908a5dd317e82556d8"
],
"attribute": {
"duration": 20000,
"normalProgramStatus": "PAUSE",
"spotsType": "IMMEDIATELY"
},
"page": {
"name": "a-immediately",
"widgets": [
{
"duration": 10000,
"inAnimation": {
"duration": 1000,
"type": "NONE"
},
"layout": {
"height": "20%",
"width": "100%",
"x": "0%",
"y": "60%"
},
"md5": "8330dcaa949ceeafa54a66e8ad623300",
"size": 25943,
"type": "PICTURE",
"url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
"zIndex": 1
}
]
}
}'
Responses
🟢200OK
application/json
Body
success
array[string]
required
fail
array[string]
required
Example
{
"success": [
"6226495f8a030b075e2f6757236620e2"
],
"fail": []
}
Modified at 2024-08-07 01:35:37