Userful API documentation version 1.9
Terms of Service
By using the Userful APIs, you agree to the Terms of Service.
Copyright
© 2016 - 2020 Userful Corporation. All rights reserved.
Getting Started
This API works for Userful 11.0, 11.1, 11.2, and 11.3 versions only.
To Interact with Userful system you need to send the API calls to http://[IP Address of your Userful host]:9000/api For example, to get the system information for a Userful host that has 192.168.123.21 IP address you will send the call as http://192.168.123.21:9000/api/system
To consume the APIs, you will need to establish an authenticated session by using /session call. The following APIs are supported in the current version.
/session
Login to the system with username and password, and get session id back id if success.
Logs the current user out of the system, destroying the existing session, if any.
post /session
Login to the system with username and password, and get session id back id if success.
Query Parameters
- keepLoggedIn: (boolean)
False by default. If false, the sessionId will expire after certain amount of time. If true, it will never expire.
Body
Media type: application/json
Example:
{
"user" : "rootuser",
"password" : "1234"
}
HTTP status code 200
Returns information about the caller's session if the caller is authenticated.
Headers
- Set-Cookie: required (string)
Set session cookie if callers are browsers.
Example:
JSESSIONID=12345678901234567890; path=/
Body
Media type: application/json
Example:
{
"session" : {
"name": "JSESSIONID",
"value": "12345678901234567890",
"version":"0.32"
}
}
HTTP status code 401
Returned if the login fails due to invalid credentials.
delete /session
Logs the current user out of the system, destroying the existing session, if any.
/system
Returns information about the Userful host.
get /system
Returns information about the Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"hostName": "showcase",
"ipAddress": "192.168.137.96",
"licenseSystemId": "E00-5560-5E7E-151B",
"userfulVersion": "8.8b",
"userfulBuildData": "0.10.1469.e157bc5-1.el72",
"linuxDistro": "UEL",
"linuxVersion": "7.2",
"onboardStations": 1,
"usbStations": 0,
"networkStations": 2,
"unknownStations": 0,
"version": "0.32"
}
Returns information about the license installed on the Userful host.
Claim the license for the Userful host using the given activation code. It can also be used to increase the number of displays for an existing license or replace the existing license using the new activation code.
Delete license from the Userful host.
get /system/license
Returns information about the license installed on the Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"resellerName": "00 Internal Testing 1",
"numberOfStations": 20,
"systemId": "E00-5560-5E7E-151B",
"licenseIssued": "2016-04-25",
"licenseExpires": "2066-04-25",
"supportExpires": "",
"videoWallModule": "Basic",
"fastVideoFeature": false,
"sessionManagement": false
}
HTTP status code 401
Returned if the caller is not authenticated.
HTTP status code 404
Returned if the requested license is not found.
put /system/license
Claim the license for the Userful host using the given activation code. It can also be used to increase the number of displays for an existing license or replace the existing license using the new activation code.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"activationCode": "JN7QG3CQG",
"numberOfStations": 20
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"resellerName": "00 Internal Testing 1",
"numberOfStations": 20,
"systemId": "E00-5560-5E7E-151B",
"licenseIssued": "2016-04-25",
"licenseExpires": "2066-04-25",
"supportExpires": "",
"videoWallModule": "Basic",
"fastVideoFeature": false,
"sessionManagement": false
}
HTTP status code 400
Returned with error message if the body format is wrong
HTTP status code 401
Returned if the caller is not authenticated.
HTTP status code 404
Returned if the requested license is not found.
delete /system/license
Delete license from the Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Download / Backup license.
get /system/license/download
Download / Backup license.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Reboot the system.
put /system/reboot
Reboot the system.
Shutdown the system.
put /system/shutdown
Shutdown the system.
Get the manifest
get /system/manifest
Get the manifest
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"installedPackages": [
{
"name": "python-userful",
"version": "0.23.47.2c50263-1.el7"
},
{
"name": "xf86-video-smsc",
"version": "2.5.74.3bf6da0-1.el7"
},
{
"name": "shellinabox",
"version": "2.14-28.git88822c1.el7.userful0_6_3574b8f"
},
{
"name": "nhci",
"version": "0.9.34.80.0e9a379-1dkms.el7"
},
{
"name": "gstreamer-python",
"version": "0.10.22-6.el7"
},
{
"name": "userful-indexhtml",
"version": "0.3.4.fab7eab-1.el72"
},
{
"name": "userful-plugin-signagelive",
"version": "0.1.27.954cc46-1"
},
{
"name": "userful-plugin-firstboot",
"version": "0.1.3.d56a85a-1"
},
{
"name": "userful-task-session-authentication",
"version": "0.1.16.7428922-1"
},
{
"name": "userful-plugin-autologin",
"version": "0.4.32.00a684e-1"
},
{
"name": "userful-plugin-program-runner",
"version": "0.0.26.ae78e40-1"
},
{
"name": "userful-rap",
"version": "0.1.34.5b7f430-1"
},
{
"name": "userful-release",
"version": "7-0.24.38a1d16.el7"
},
{
"name": "userful-plugin-hdmi-capture",
"version": "0.1.49.ab8804e-1"
},
{
"name": "userful-plugin-tdm-signage",
"version": "0.0.5.2f7042f-1"
},
{
"name": "userful-shared-files",
"version": "0.4.26.c85ef40-1.el7"
},
{
"name": "gstreamer1-plugins-good",
"version": "1.9.1-2.el7"
},
{
"name": "userful-interactive-viewer",
"version": "0.0.4.c5556cd-1"
},
{
"name": "userful-plugin-system-login",
"version": "0.1.68.4fe6798-1"
},
{
"name": "userful-plugin-rtp",
"version": "0.1.4.65778c7-1"
},
{
"name": "userful-plugin-rvplayer",
"version": "0.1.55.499c82a-1"
},
{
"name": "gstreamer1-libav",
"version": "1.9.1-1.el7"
},
{
"name": "userful-plugin-vdi",
"version": "1.2.59.64625fb-1"
},
{
"name": "userful-test-videos-4K",
"version": "0.0.27.c7fc53a-1"
},
{
"name": "userful-session-management-ui",
"version": "0.0.30.0d50945-1"
},
{
"name": "userful-plugin-webbrowser",
"version": "0.7.15.fa75def-1"
},
{
"name": "userful-media-player",
"version": "0.2.173.0f60a3b-1"
},
{
"name": "userful-plugin-base",
"version": "0.12.26.418b0e3-1"
},
{
"name": "userful-plugin-display5",
"version": "0.0.8.b0fc290-1"
},
{
"name": "userful-display-manager",
"version": "0.1.163.a537dfc-1.el72"
},
{
"name": "userful-remote",
"version": "0.3.18.6145a0f-1"
},
{
"name": "userful-product-config",
"version": "1.0.73.230b50d-1"
},
{
"name": "userful-station-manager",
"version": "0.1.116.ba9103b-1"
},
{
"name": "userful-plugin-inactive-station",
"version": "0.1.5.01844bd-1"
},
{
"name": "userful-software-license",
"version": "0.9.7.a01e038-1"
},
{
"name": "gstreamer-tools",
"version": "0.10.36-7.el7"
},
{
"name": "userful-plugin-network-streamer",
"version": "0.2.8.4845dd0-1"
},
{
"name": "userful-plugin-signage-player",
"version": "0.7.9.887bb91-1"
},
{
"name": "userful-diagnostics",
"version": "0.0.14.fc8f270-1"
},
{
"name": "userful-sample-media",
"version": "0.0.9.f9933d2-1"
},
{
"name": "userful-plugin-videowall",
"version": "0.2.29.5771c26-1"
},
{
"name": "userful-plugin-station-configuration",
"version": "0.1.78.dd64321-1"
},
{
"name": "google-chrome-stable",
"version": "53.0.2785.116-1"
},
{
"name": "userful-system-operations",
"version": "0.9.32.e375259-1.el72"
},
{
"name": "userful-plugin-remote-desktop",
"version": "0.3.22.5ccd139-1"
},
{
"name": "gstreamer1-plugins-bad",
"version": "1.9.1-2.el7.userful0"
},
{
"name": "gstreamer1-plugins-base",
"version": "1.9.1-2.el7"
},
{
"name": "gstreamer-plugins-base",
"version": "0.10.36-10.el7"
},
{
"name": "userful-plugin-pads4",
"version": "0.1.11.203887c-1"
},
{
"name": "userful-control-center",
"version": "0.10.1443.7e9c04b-1.el72"
},
{
"name": "userful-audio-settings",
"version": "0.1.5.14fba3b-1"
},
{
"name": "userful-text-viewer",
"version": "0.1.16.e92e88e-1.el7"
},
{
"name": "userful-libfv",
"version": "1.1.125.d8af067-1"
},
{
"name": "userful-plugin-standalone",
"version": "0.1.34.5159d3f-1"
},
{
"name": "userful-session-length-limiter",
"version": "0.0.25.5614e6a-1"
},
{
"name": "userful-plugin-cloud-desktop",
"version": "0.4.72.63edbdc-1"
},
{
"name": "userful-plugin-uievolution",
"version": "0.1.10.ef931a9-1"
},
{
"name": "userful-logos",
"version": "70.0.7-4.el7.userful0.24.20772f5"
},
{
"name": "userful-privacy-protector",
"version": "0.0.30.ff4ae4c-1"
},
{
"name": "gstreamer",
"version": "0.10.36-7.el7"
},
{
"name": "userful-task-manager",
"version": "0.2.226.0039858-1.el72"
},
{
"name": "userful-common",
"version": "0.6.5.1608007-1"
},
{
"name": "userful-sundry",
"version": "0.2.28.7bda4a2-1"
},
{
"name": "userful-kiosk-desktop-files",
"version": "0.5.9.9f8fbd2-1"
},
{
"name": "userful-plugin-control-center",
"version": "0.2.11.2b8b0a6-1"
},
{
"name": "gstreamer1-plugins-base-tools",
"version": "1.9.1-2.el7"
},
{
"name": "gstreamer1",
"version": "1.9.1-1.el7"
},
{
"name": "userful-plugin-v4l-capture",
"version": "0.2.8.d37c1ca-1"
},
{
"name": "userful-test-videos",
"version": "0.0.27.c7fc53a-1"
},
{
"name": "firefox",
"version": "45.3.0-1.el7.centos"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Returns the status of broadcast message, whether the message is displayed or not.
get /system/broadcast
Returns the status of broadcast message, whether the message is displayed or not.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Start broadcasting. Alert level can be GREEN_LEVEL, ORANGE_LEVEL and RED_LEVEL.
put /system/broadcast/start
Start broadcasting. Alert level can be GREEN_LEVEL, ORANGE_LEVEL and RED_LEVEL.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"message": "Broadcast Message Test Sample!",
"alertLevel": "RED_LEVEL",
"lengthMillisec": 60000
}
Stop broadcasting.
put /system/broadcast/stop
Stop broadcasting.
Show display id.
put /system/showDisplayIds/start
Show display id.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- displayId: (integer)
Only show the display which matches the display id.
Hide display id.
put /system/showDisplayIds/stop
Hide display id.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- displayId: (integer)
Only hide the display which matches the display id.
Get the API log file.
get /system/apilog
Get the API log file.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Returns status about the Userful remote.
Start Userful Remote Control
Stop Userful Remote Control.
get /system/vpn
Returns status about the Userful remote.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
put /system/vpn
Start Userful Remote Control
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
delete /system/vpn
Stop Userful Remote Control.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Returns information about system diagnostics.
get /system/diag
Returns information about system diagnostics.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"results": [
{
"id": "MISSING_USER_NAMES",
"success": true
},
{
"id": "SUPPORT",
"success": true,
"params": [
"4707831626580"
]
},
{
"id": "CLOUD_SUBSCRIPTION",
"success": true,
"params": [
"4707831624122"
]
},
{
"id": "ONPREM_UCLIENT_GPU_REQUIREMENT",
"success": true
},
{
"id": "BLACK_MAGIC_FIRMWARE",
"success": true
},
{
"id": "LICENSE",
"success": true,
"params": [
"6"
]
},
{
"id": "TURN_SERVER",
"success": true
},
{
"id": "ALL_STATIONS_GBIT_SETTINGS",
"success": true
},
{
"id": "UNSUPPORTED_DEVICES",
"success": true
},
{
"id": "REDUNDANT_DEFAULT_GATEWAY",
"success": true
},
{
"id": "NETWORK_LATENCY",
"success": true,
"params": [
"",
""
]
},
{
"id": "SOURCE_MEMORY_USAGE",
"success": true,
"params": [
"2357198848",
"8259633152"
]
},
{
"id": "NOT_REGISTERED_TO_CLOUD",
"success": true
},
{
"id": "NETWORK_DHCP",
"success": true,
"params": [
"",
""
]
},
{
"id": "ROOT_FREE_DISK_SPACE",
"success": true,
"params": [
"357",
"5"
]
},
{
"id": "CPU_CORES",
"success": true,
"params": [
"4",
"4"
]
},
{
"id": "NETWORK_BANDWIDTH",
"success": true,
"params": [
"",
""
]
},
{
"id": "ALL_ZC_DISPLAY",
"success": true
},
{
"id": "SOFTWARE_UPDATE_CONGRUENCY",
"success": true
},
{
"id": "NETWORK_IP",
"success": true,
"params": [
"",
""
]
},
{
"id": "TOTAL_RAM",
"success": true,
"params": [
"8.0",
"8.0"
]
},
{
"id": "SECUREBOOT_FREE",
"success": true,
"params": [
"",
""
]
}
]
}
HTTP status code 401
Returned if the caller is not authenticated.
Wake monitors up from dpms sleep. (leave request body empty for all displays)
put /system/dpms/forceon
Wake monitors up from dpms sleep. (leave request body empty for all displays)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"displayID": "4"
}
Put all monitors to dpms sleep. (leave request body empty for all displays)
put /system/dpms/forceoff
Put all monitors to dpms sleep. (leave request body empty for all displays)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"displayID": "4"
}
Get a list of available 3rd party packages
Install specific packages
get /system/installthirdpartypackage
Get a list of available 3rd party packages
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
[
{
"name": "userful-test-videos-60fps",
"groupName": "Userful Test Videos FullHD 60fps (3MB)",
"installed": true
},
{
"name": "userful-test-videos",
"groupName": "Userful Test Videos FullHD (2MB)",
"installed": true
},
{
"name": "scribus",
"groupName": "Educational Programs",
"installed": false
},
{
"name": "marble",
"groupName": "Educational Programs",
"installed": true
},
{
"name": "tuxpaint",
"groupName": "Educational Programs",
"installed": false
},
{
"name": "kdegraphics",
"groupName": "Educational Programs",
"installed": false
},
{
"name": "soprano",
"groupName": "Educational Programs",
"installed": true
},
{
"name": "vym",
"groupName": "Educational Programs",
"installed": false
},
{
"name": "transmission-gtk",
"groupName": "Educational Programs",
"installed": false
},
{
"name": "userful-sample-media-6K",
"groupName": "Userful Sample Media 6K (Aerial Stage 59MB)",
"installed": false
},
{
"name": "gstreamer1-plugins-ugly",
"groupName": "Media Player Codecs",
"installed": true
},
{
"name": "ibus-anthy",
"groupName": "Japanese Input Support",
"installed": false
},
{
"name": "userful-sample-media",
"groupName": "Userful Sample Media FullHD (Gran Dillama 128MB)",
"installed": true
},
{
"name": "userful-plugin-vdi-extpack-install",
"groupName": "VirtualBox Extension Pack (VDI)",
"installed": false
},
{
"name": "ibus-hangul",
"groupName": "Korean Input Support",
"installed": false
},
{
"name": "userful-test-videos-8K",
"groupName": "Userful Test Videos 8K (14MB)",
"installed": false
},
{
"name": "userful-test-videos-4K",
"groupName": "Userful Test Videos 4K (5MB)",
"installed": true
},
{
"name": "userful-sample-media-4K-60fps",
"groupName": "Userful Sample Media 4K 60fps (Big Buck Bunny 649MB)",
"installed": true
},
{
"name": "gtk2-immodule-xim",
"groupName": "Chinese Input Support",
"installed": false
},
{
"name": "gtk3-immodule-xim",
"groupName": "Chinese Input Support",
"installed": false
},
{
"name": "imsettings-xim",
"groupName": "Chinese Input Support",
"installed": false
},
{
"name": "ibus-libpinyin",
"groupName": "Chinese Input Support",
"installed": false
},
{
"name": "userful-plugin-dvd-player",
"groupName": "DVD Player Plugin",
"installed": false
},
{
"name": "userful-test-videos-6K",
"groupName": "Userful Test Videos 6K (9MB)",
"installed": false
},
{
"name": "system-config-users",
"groupName": "Desktop Software Suite",
"installed": false
},
{
"name": "atril",
"groupName": "Desktop Software Suite",
"installed": false
},
{
"name": "eom",
"groupName": "Desktop Software Suite",
"installed": false
},
{
"name": "gedit",
"groupName": "Desktop Software Suite",
"installed": true
},
{
"name": "userful-sample-media-FullHD-60fps",
"groupName": "Userful Sample Media FullHD 60fps (Big Buck Bunny 339MB)",
"installed": false
},
{
"name": "libreoffice-langpack-en",
"groupName": "LibreOffice",
"installed": false
},
{
"name": "libreoffice-calc",
"groupName": "LibreOffice",
"installed": false
},
{
"name": "libreoffice-langpack-fr",
"groupName": "LibreOffice",
"installed": false
},
{
"name": "libreoffice-langpack-es",
"groupName": "LibreOffice",
"installed": false
},
{
"name": "libreoffice-writer",
"groupName": "LibreOffice",
"installed": false
},
{
"name": "libreoffice-impress",
"groupName": "LibreOffice",
"installed": false
},
{
"name": "userful-test-videos-4K-60fps",
"groupName": "Userful Test Videos 4K 60fps (6MB)",
"installed": false
},
{
"name": "desktopvideo",
"groupName": "Blackmagic Design Capture Card Driver",
"installed": false
},
{
"name": "userful-sample-media-4K",
"groupName": "Userful Sample Media 4K (Llama Drama 386MB)",
"installed": false
}
]
HTTP status code 401
Returned if the caller is not authenticated.
post /system/installthirdpartypackage
Install specific packages
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
[
"scribus",
"tuxpaint",
"kdegraphics",
"vym",
"transmission-gtk",
"userful-sample-media-6K",
"ibus-anthy",
"userful-plugin-vdi-extpack-install",
"ibus-hangul",
"userful-test-videos-8K",
"gtk2-immodule-xim",
"gtk3-immodule-xim",
"imsettings-xim",
"ibus-libpinyin",
"userful-plugin-dvd-player",
"userful-test-videos-6K",
"system-config-users",
"gedit",
"atril",
"eom",
"userful-sample-media-FullHD-60fps",
"libreoffice-langpack-en",
"libreoffice-calc",
"libreoffice-langpack-fr",
"libreoffice-langpack-es",
"libreoffice-writer",
"libreoffice-impress",
"userful-test-videos-4K-60fps",
"desktopvideo",
"userful-sample-media-4K"
]
submit a troubleshooting report
post /system/submittroubleshootingreport
submit a troubleshooting report
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"name": "John Doe",
"email": "jd@userful.com",
"catagory": "",
"whatDoing": "testing",
"description": "",
"additionalText": "sent from RESTAPI"
}
generate and download troubleshooting report (tar.bz2)
get /system/downloadtroubleshootingreport
generate and download troubleshooting report (tar.bz2)
Returns the hostname
Update the hostname
get /system/hostname
Returns the hostname
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
put /system/hostname
Update the hostname
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"hostName": "newhostname"
}
Returns system's network interfaces
Update one of system's network interfaces. The network will restart if settings are successfully applied.
get /system/networkinterfaces
Returns system's network interfaces
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
[
{
"id": "enp1s0",
"deviceName": "/org/freedesktop/NetworkManager/Devices/2",
"portStatus": "Up",
"linkSpeed": "1000Mbps",
"usesDHCP": true,
"leaseDuration": "0 mins",
"ipAddress": "192.168.129.99",
"subnetMask": "255.255.255.0",
"defaultGateway": "192.168.129.1",
"preferredDNSAddress": "192.168.129.1",
"alternateDNSAddress": "0.0.0.0",
"runningDhcpd": false,
"dhcpdStarting": false
},
{
"id": "enp0s20f0u2",
"deviceName": "/org/freedesktop/NetworkManager/Devices/9",
"portStatus": "Unknown",
"linkSpeed": "0Mbps",
"usesDHCP": false,
"leaseDuration": "0 mins",
"ipAddress": "0.0.0.0",
"subnetMask": "0.0.0.0",
"defaultGateway": "0.0.0.0",
"preferredDNSAddress": "",
"alternateDNSAddress": "0.0.0.0",
"runningDhcpd": false,
"dhcpdStarting": false
}
]
HTTP status code 401
Returned if the caller is not authenticated.
HTTP status code 500
Returned in the event that the backend is still processing a PUT request.
put /system/networkinterfaces
Update one of system's network interfaces. The network will restart if settings are successfully applied.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"id": "enp1s0",
"usesDHCP": false,
"ipAddress": "192.168.129.99",
"subnetMask": "255.255.255.0",
"defaultGateway": "192.168.129.1",
"preferredDNSAddress": "8.8.8.8",
"alternateDNSAddress": "0.0.0.0",
"runningDhcpd": false
}
HTTP status code 204
Returned if update request processed without errors. However it does not gurantee that the desired settings have applied. For example, you can set usesDHCP=true, but GET requests to /system/networkinterfaces will still show usesDHCP=false if a dhcp server has not allocated an address to that interface.
HTTP status code 400
Returned if cannot parse request
HTTP status code 401
Returned if the caller is not authenticated.
HTTP status code 500
Returned with error message if request is not successful
Check if host allows partner access through Cloud
Set host to allow or deny partner access through Cloud
get /system/partneraccess
Check if host allows partner access through Cloud
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
put /system/partneraccess
Set host to allow or deny partner access through Cloud
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"partnerAccess": true
}
Get receiver devices (zero clients) assignment settings. These settings affect the UCC Settings -> Reciever Device Configuration, see that panel for further notes about behavior.
Set receiver devices (zero clients) assignment settings. These settings affect the UCC Settings -> Reciever Device Configuration, see that panel for further notes about behavior.
get /system/receiverdeviceassignmentsettings
Get receiver devices (zero clients) assignment settings. These settings affect the UCC Settings -> Reciever Device Configuration, see that panel for further notes about behavior.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
put /system/receiverdeviceassignmentsettings
Set receiver devices (zero clients) assignment settings. These settings affect the UCC Settings -> Reciever Device Configuration, see that panel for further notes about behavior.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"autoAssign": true,
"autoInherit": false
}
Get the current and available time zones. These settings affect the UCC Settings -> Location, see that panel for further notes about behavior.
Set the current time zone. These settings affect the UCC Settings -> Location, see that panel for further notes about behavior.
get /system/timezone
Get the current and available time zones. These settings affect the UCC Settings -> Location, see that panel for further notes about behavior.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"currentTimeZone": {
"timezone": "America/Edmonton",
"offset": -21600000
},
"availableTimeZones": [
"Africa/Addis Ababa",
"Africa/Algiers",
"Africa/Asmara",
"Africa/Asmera",
"Africa/Bangui",
"Africa/Blantyre",
"Africa/Brazzaville",
"Africa/Bujumbura",
"Africa/Cairo",
"Africa/Casablanca",
"Africa/Ceuta",
"Africa/Dar es Salaam"
]
}
HTTP status code 401
Returned if the caller is not authenticated.
put /system/timezone
Set the current time zone. These settings affect the UCC Settings -> Location, see that panel for further notes about behavior.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"timezone": "America/Edmonton"
}
(WARNING: ALPHA STATE, MAY CHANGE IN THE FUTURE)
Retrieves number that changes specifically if station assignment for mapping profiles are altered. For instance, if you configure the mapping page, and then call this API, if the number remains unchanged afterwards then the mapping page has not been altered.
Note that currently this functionality is only available current if failover groups are enabled and if the host is currently part of a failover group.
get /system/mappingdataversion
(WARNING: ALPHA STATE, MAY CHANGE IN THE FUTURE)
Retrieves number that changes specifically if station assignment for mapping profiles are altered. For instance, if you configure the mapping page, and then call this API, if the number remains unchanged afterwards then the mapping page has not been altered.
Note that currently this functionality is only available current if failover groups are enabled and if the host is currently part of a failover group.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
If the host is not part of a failover group, -1 will always be returned. Otherwise it will always return an arbitrary number representing the state of the mapping paage.
It is recommended to parse this as a string rather then a number as there is no arithmetic meaning to the numbers that are returned other then equality meaning unchanged and inequality meaning unchanged.
Please note also that the number will not return to the same state if the a source/source assignment is changed and then changed back. If for instance you assign a display to source A, then to source B, then back to source A, the return number will change even though the mapping is functionally equivilent.
Body
Media type: text/plain
Type: any
HTTP status code 401
Returned if the session id is invalid or session time out.
/presets
Create, update and save a preset.
Returns the list of existing presets.
post /presets
Create, update and save a preset.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"name" : "preset_1"
}
get /presets
Returns the list of existing presets.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"presets": [
{
"id": "FE3DE7D3-76FF-4F13-9323-4E27E03E413B",
"name": "preset_1"
},
{
"id": "D14F94D9-C066-464B-8368-2BF47145A9CF",
"name": "preset_2"
},
{
"id": "B6D6BED4-1A63-453F-AFEC-7CC6D144C279",
"name": "preset_5"
},
{
"id": "9E01DF39-FF34-4715-B24E-7610B25C6171",
"name": "preset_6"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Returns information about the preset specified by the given preset name.
Delete a preset specified by the given preset name.
get /presets/byname/{name}
Returns information about the preset specified by the given preset name.
URI Parameters
- name: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
delete /presets/byname/{name}
Delete a preset specified by the given preset name.
URI Parameters
- name: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Switch between presets by giving the preset name.
put /presets/byname/{name}/switch
Switch between presets by giving the preset name.
URI Parameters
- name: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"id" : "FE3DE7D3-76FF-4F13-9323-4E27E03E413B",
"name" : "preset_1",
"playing": true
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested session container is not found.
Returns information about the preset specified by the given preset id.
Delete a preset by giving a preset id.
get /presets/{id}
Returns information about the preset specified by the given preset id.
URI Parameters
- id: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
delete /presets/{id}
Delete a preset by giving a preset id.
URI Parameters
- id: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Switch between presets by giving preset id.
put /presets/{id}/switch
Switch between presets by giving preset id.
URI Parameters
- id: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"id" : "FE3DE7D3-76FF-4F13-9323-4E27E03E413B",
"name" : "preset_1",
"playing": true
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested session container is not found.
/sources
Returns the source information.
Create source on the Userful host.
Delete the specified source.
get /sources
Returns the source information.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- sourceName: (string)
Only list the source which matches the source name.
HTTP status code 200
Body
Media type: application/json
Example:
{
"sources": [
{
"sourceId": "9396DB89-BBC8-4F7C-8BC3-4E3A118605AC",
"sourceName": "source1",
"sourceType": "Signage Player",
"params": [
{
"type": "HELP",
"paramName": "",
"paramValue": "http://support.userful.com/Docs/Station_Mapping/Linux_Desktop"
},
{
"type": "IMAGE_SELECT",
"paramName": "Icon",
"paramValue": "/usr/share/userful-plugin-system-login/icons/tux.png"
}
]
},
{
"sourceId": "5B1A246F-23D7-431A-B398-7FCD5C1A3E40",
"sourceName": "source2",
"sourceType": "Signage Player",
"params": [
{
"type": "FILE_DIR_SELECT",
"paramName": "Playlist",
"paramValue": "[{\"type\":\"dir\",\"name\":\"/shared-files/signage\",\"value\":\"/shared-files/signage\"}]"
},
{
"type": "RADIO",
"paramName": "Scaling",
"paramValue": "outside"
},
{
"type": "RADIO",
"paramName": "Disable audio",
"paramValue": "true"
},
{
"type": "IMAGE_SELECT",
"paramName": "Icon",
"paramValue": "/usr/share/userful-plugin-signage-player/icons/MediaPlayer.png"
}
]
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
post /sources
Create source on the Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"sourceName": "source1",
"sourceType": "Signage Player",
"params": [
{
"type": "FILE_DIR_SELECT",
"paramName": "Playlist",
"paramValue": "[{\"type\":\"file\",\"name\":\"/shared-files/signage/Caminandes-Gran-Dillama-2013.mp4\",\"value\":\"Caminandes-Gran-Dillama-2013.mp4\"}]"
},
{
"type": "RADIO",
"paramName": "Scaling",
"paramValue": "outside"
},
{
"type": "NUMBER",
"paramName": "Slideshow interval",
"paramValue": "5"
},
{
"type": "CHECKBOX",
"paramName": "Disable audio",
"paramValue": "true"
},
{
"type": "HELP",
"paramName": "",
"paramValue": "http://support.userful.com/Docs/Station_Mapping/Signage_Player"
},
{
"type": "IMAGE_SELECT",
"paramName": "Icon",
"paramValue": "/usr/share/userful-plugin-signage-player/icons/MediaPlayer.png"
}
]
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"sourceId" : "4080090B-76B8-4CA8-9BB4-E1356584CBB8",
"sourceName" : "source1",
"sourceType":"Signage Player",
"params" : [ {
"type" : "FILE_DIR_SELECT",
"paramName" : "Playlist",
"paramValue" : "[{\"type\":\"file\",\"name\":\"/shared-files/signage/Caminandes-Gran-Dillama-2013.mp4\",\"value\":\"Caminandes-Gran-Dillama-2013.mp4\"}]"
}, {
"type" : "RADIO",
"paramName" : "Scaling",
"paramValue" : "outside"
}, {
"type" : "NUMBER",
"paramName" : "Slideshow interval",
"paramValue" : "5"
}, {
"type" : "CHECKBOX",
"paramName" : "Disable audio",
"paramValue" : "true"
}, {
"type" : "HELP",
"paramName" : "",
"paramValue" : "http://support.userful.com/Docs/Station_Mapping/Signage_Player"
}, {
"type" : "IMAGE_SELECT",
"paramName" : "Icon",
"paramValue" : "/usr/share/userful-plugin-signage-player/icons/MediaPlayer.png"
} ]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 403
Returned if license does not allow source type.
HTTP status code 404
Returned if the sources information is not correct.
delete /sources
Delete the specified source.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- sourceName: (string)
Only list the source which matches the source name.
Get source information specified by giving source id.
Remove source specified by giving source id.
Update configuration of the specific source like source name, scaling option.
get /sources/{sourceId}
Get source information specified by giving source id.
URI Parameters
- sourceId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"sourceId": "B732AD9E-457E-4438-84BF-3E94DAB94B44",
"sourceName": "Signage Player",
"sourceType": "Signage Player",
"params": [
{
"type": "FILE_DIR_SELECT",
"paramName": "Playlist",
"paramValue": "[{\"type\":\"file\",\"name\":\"/shared-files/signage/Big Buck Bunny, Sunflower (1080p).mp4\",\"value\":\"Big Buck Bunny, Sunflower (1080p).mp4\"}]"
},
{
"type": "RADIO",
"paramName": "Scaling",
"paramValue": "outside"
},
{
"type": "NUMBER",
"paramName": "Slideshow interval",
"paramValue": "5"
},
{
"type": "CHECKBOX",
"paramName": "Disable audio",
"paramValue": "true"
},
{
"type": "HELP",
"paramName": "",
"paramValue": "http://support.userful.com/Docs/Station_Mapping/Signage_Player"
},
{
"type": "IMAGE_SELECT",
"paramName": "Icon",
"paramValue": "/usr/share/userful-plugin-signage-player/icons/MediaPlayer.png"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session timeout.
delete /sources/{sourceId}
Remove source specified by giving source id.
URI Parameters
- sourceId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
put /sources/{sourceId}
Update configuration of the specific source like source name, scaling option.
URI Parameters
- sourceId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"sourceName": "Signage Player",
"sourceType": "Signage Player",
"params": [
{
"type": "FILE_DIR_SELECT",
"paramName": "Playlist",
"paramValue": "[{\"type\":\"file\",\"name\":\"/shared-files/signage/Big Buck Bunny, Sunflower (1080p).mp4\",\"value\":\"Big Buck Bunny, Sunflower (1080p).mp4\"}]"
},
{
"type": "RADIO",
"paramName": "Scaling",
"paramValue": "outside"
},
{
"type": "NUMBER",
"paramName": "Slideshow interval",
"paramValue": "5"
},
{
"type": "CHECKBOX",
"paramName": "Disable audio",
"paramValue": "true"
},
{
"type": "HELP",
"paramName": "",
"paramValue": "http://support.userful.com/Docs/Station_Mapping/Signage_Player"
},
{
"type": "IMAGE_SELECT",
"paramName": "Icon",
"paramValue": "/usr/share/userful-plugin-signage-player/icons/MediaPlayer.png"
}
]
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"sourceId": "B732AD9E-457E-4438-84BF-3E94DAB94B44",
"sourceName": "Signage Player",
"sourceType": "Signage Player",
"params": [
{
"type": "FILE_DIR_SELECT",
"paramName": "Playlist",
"paramValue": "[{\"type\":\"file\",\"name\":\"/shared-files/signage/Big Buck Bunny, Sunflower (1080p).mp4\",\"value\":\"Big Buck Bunny, Sunflower (1080p).mp4\"}]"
},
{
"type": "RADIO",
"paramName": "Scaling",
"paramValue": "outside"
},
{
"type": "NUMBER",
"paramName": "Slideshow interval",
"paramValue": "5"
},
{
"type": "CHECKBOX",
"paramName": "Disable audio",
"paramValue": "true"
},
{
"type": "HELP",
"paramName": "",
"paramValue": "http://support.userful.com/Docs/Station_Mapping/Signage_Player"
},
{
"type": "IMAGE_SELECT",
"paramName": "Icon",
"paramValue": "/usr/share/userful-plugin-signage-player/icons/MediaPlayer.png"
}
]
}
HTTP status code 400
Returned with error message if the body format is wrong
HTTP status code 401
Returned if the caller is not authenticated.
HTTP status code 403
Returned if license does not allow source type.
/network
Returns the list of receiver devices in the same network with the Userful host. Receiver devices with status "CONNECTED" are locked to this Userful host.
get /network
Returns the list of receiver devices in the same network with the Userful host. Receiver devices with status "CONNECTED" are locked to this Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"network": [
{
"seatId": "seat-usb-platform-nhBC2D98001BE3",
"name": "ThinGlobal MiniPoint",
"location": "",
"ip": "192.168.131.98",
"mac": "bc:2d:98:00:1b:e3",
"status": "CONNECTED",
"devices": [
{
"id": {
"value": "9B4265F5-B52C-4966-A7B2-1BBD42770AAF"
},
"type": "DISPLAY",
"vid": "0424",
"pid": "9D01",
"manufacturer": "",
"model": "Generic Zero-Client",
"serial": ""
},
{
"id": {
"value": "50854E81-0A59-42F9-BA9C-281A00CF96D5"
},
"type": "MEDIA_DEVICE",
"vid": "0D8C",
"pid": "000C",
"manufacturer": "USB ",
"model": "C-Media Headphone Set ",
"serial": ""
}
],
"model": " Generic Zero-Client",
"firmware": "039.100"
},
{
"seatId": "seat-usb-platform-nhBC2D98001C57",
"name": "ThinGlobal MiniPoint",
"location": "",
"ip": "192.168.131.96",
"mac": "bc:2d:98:00:1c:57",
"status": "CONNECTED",
"devices": [
{
"id": {
"value": "2D66F734-8A26-494E-9BE8-E20885D7CE93"
},
"type": "DISPLAY",
"vid": "0424",
"pid": "9D01",
"manufacturer": "",
"model": "Generic Zero-Client",
"serial": ""
},
{
"id": {
"value": "A4828D8B-83AF-4C6A-B0B4-5E2EBA1A4CAC"
},
"type": "MEDIA_DEVICE",
"vid": "0D8C",
"pid": "000C",
"manufacturer": "USB ",
"model": "C-Media Headphone Set ",
"serial": ""
}
],
"model": " Generic Zero-Client",
"firmware": "039.100"
},
{
"seatId": "seat-usb-platform-nhBC2D980019DD",
"name": "ThinGlobal MiniPoint",
"location": "",
"ip": "192.168.131.97",
"mac": "bc:2d:98:00:19:dd",
"status": "CONNECTED",
"devices": [
{
"id": {
"value": "FB222644-E1DA-4C51-BDEC-B71DB0F4ED0B"
},
"type": "DISPLAY",
"vid": "0424",
"pid": "9D01",
"manufacturer": "",
"model": "Generic Zero-Client",
"serial": ""
},
{
"id": {
"value": "1E399532-1F3C-4D19-BFE8-21D65B117C12"
},
"type": "MEDIA_DEVICE",
"vid": "0D8C",
"pid": "000C",
"manufacturer": "USB ",
"model": "C-Media Headphone Set ",
"serial": ""
}
],
"model": " Generic Zero-Client",
"firmware": "039.100"
},
{
"seatId": "seat-usb-platform-nhBC2D98001BF5",
"name": "ThinGlobal MiniPoint",
"location": "",
"ip": "192.168.131.100",
"mac": "bc:2d:98:00:1b:f5",
"status": "CONNECTED",
"devices": [
{
"id": {
"value": "92A78451-93FB-41C2-A753-781A56800AD7"
},
"type": "DISPLAY",
"vid": "0424",
"pid": "9D01",
"manufacturer": "",
"model": "Generic Zero-Client",
"serial": ""
},
{
"id": {
"value": "4F88B54F-44AF-44A6-8E5C-7590D2E5D665"
},
"type": "MEDIA_DEVICE",
"vid": "0D8C",
"pid": "000C",
"manufacturer": "USB ",
"model": "C-Media Headphone Set ",
"serial": ""
}
],
"model": " Generic Zero-Client",
"firmware": "039.100"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Returns information about all the usb devices available on the network station.
get /network/devices/{seatId}
Returns information about all the usb devices available on the network station.
URI Parameters
- seatId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"devices": [
{
"device_file": "/dev/bus/usb/004/001",
"devtype": "usb_device",
"driver": "usb",
"is_initialized": true,
"name": "usb4",
"number": "4",
"property_keys": {
"BUSNUM": "004",
"DEVNAME": "/dev/bus/usb/004/001",
"DEVNUM": "001",
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4",
"DEVTYPE": "usb_device",
"DRIVER": "usb",
"ID_AUTOSEAT": "1",
"ID_AVOID_LOOP": "1",
"ID_BUS": "usb",
"ID_FOR_SEAT": "usb-platform-nhBC2D98001BE3",
"ID_MODEL": "E386X_Network_USB_Host_Driver",
"ID_MODEL_ENC": "E386X\\x20Network\\x20USB\\x20Host\\x20Driver",
"ID_MODEL_FROM_DATABASE": "2.0 root hub",
"ID_MODEL_ID": "0002",
"ID_PATH": "platform-nhBC2D98001BE3",
"ID_PATH_TAG": "platform-nhBC2D98001BE3",
"ID_REVISION": "0404",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_SERIAL": "Linux_4.4.0-2.el7.elrepo.x86_64_nhci_hcd_E386X_Network_USB_Host_Driver_nhBC2D98001BE3",
"ID_SERIAL_SHORT": "nhBC2D98001BE3",
"ID_USB_INTERFACES": ":090000:",
"ID_VENDOR": "Linux_4.4.0-2.el7.elrepo.x86_64_nhci_hcd",
"ID_VENDOR_ENC": "Linux\\x204.4.0-2.el7.elrepo.x86_64\\x20nhci_hcd",
"ID_VENDOR_FROM_DATABASE": "Linux Foundation",
"ID_VENDOR_ID": "1d6b",
"MAJOR": "189",
"MINOR": "384",
"PRODUCT": "1d6b/2/404",
"SUBSYSTEM": "usb",
"TAGS": ":seat:seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "9/0/1",
"USEC_INITIALIZED": "125755"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4"
},
{
"devtype": "usb_interface",
"driver": "hub",
"is_initialized": true,
"name": "4-0:1.0",
"number": "0",
"property_keys": {
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-0:1.0",
"DEVTYPE": "usb_interface",
"DRIVER": "hub",
"ID_AVOID_LOOP": "1",
"ID_MODEL_FROM_DATABASE": "2.0 root hub",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_USB_CLASS_FROM_DATABASE": "Hub",
"ID_USB_PROTOCOL_FROM_DATABASE": "Single TT",
"ID_VENDOR_FROM_DATABASE": "Linux Foundation",
"INTERFACE": "9/0/0",
"MODALIAS": "usb:v1D6Bp0002d0404dc09dsc00dp01ic09isc00ip00in00",
"PRODUCT": "1d6b/2/404",
"SUBSYSTEM": "usb",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "9/0/1",
"USEC_INITIALIZED": "125807"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-0:1.0"
},
{
"device_file": "/dev/bus/usb/004/003",
"devtype": "usb_device",
"driver": "usb",
"is_initialized": true,
"name": "4-3",
"number": "3",
"property_keys": {
"BUSNUM": "004",
"DEVNAME": "/dev/bus/usb/004/003",
"DEVNUM": "003",
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-3",
"DEVTYPE": "usb_device",
"DRIVER": "usb",
"ID_AVOID_LOOP": "1",
"ID_BUS": "usb",
"ID_FOR_SEAT": "usb-platform-nhBC2D98001BE3-usb-0_3",
"ID_MODEL": "9d01",
"ID_MODEL_ENC": "9d01",
"ID_MODEL_ID": "9d01",
"ID_PATH": "platform-nhBC2D98001BE3-usb-0:3",
"ID_PATH_TAG": "platform-nhBC2D98001BE3-usb-0_3",
"ID_REVISION": "0400",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_SERIAL": "0424_9d01",
"ID_USB_INTERFACES": ":ff00ff:",
"ID_VENDOR": "0424",
"ID_VENDOR_ENC": "0424",
"ID_VENDOR_FROM_DATABASE": "Standard Microsystems Corp.",
"ID_VENDOR_ID": "0424",
"MAJOR": "189",
"MINOR": "386",
"PRODUCT": "424/9d01/400",
"SUBSYSTEM": "usb",
"TAGS": ":master-of-seat:seat:seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "255/0/255",
"USEC_INITIALIZED": "833680",
"XORG_DRV": "smsc"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-3"
},
{
"devtype": "usb_interface",
"driver": "usbfs",
"is_initialized": true,
"name": "4-3:1.0",
"number": "0",
"property_keys": {
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-3/4-3:1.0",
"DEVTYPE": "usb_interface",
"DRIVER": "usbfs",
"ID_AVOID_LOOP": "1",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_USB_CLASS_FROM_DATABASE": "Vendor Specific Class",
"ID_VENDOR_FROM_DATABASE": "Standard Microsystems Corp.",
"INTERFACE": "255/0/255",
"MODALIAS": "usb:v0424p9D01d0400dcFFdsc00dpFFicFFisc00ipFFin00",
"PRODUCT": "424/9d01/400",
"SUBSYSTEM": "usb",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "255/0/255",
"USEC_INITIALIZED": "839167"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-3/4-3:1.0"
},
{
"device_file": "/dev/bus/usb/004/002",
"devtype": "usb_device",
"driver": "usb",
"is_initialized": true,
"name": "4-6",
"number": "6",
"property_keys": {
"BUSNUM": "004",
"DEVNAME": "/dev/bus/usb/004/002",
"DEVNUM": "002",
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6",
"DEVTYPE": "usb_device",
"DRIVER": "usb",
"ID_AVOID_LOOP": "1",
"ID_BUS": "usb",
"ID_MODEL": "C-Media_USB_Headphone_Set",
"ID_MODEL_ENC": "C-Media\\x20USB\\x20Headphone\\x20Set\\x20\\x20",
"ID_MODEL_FROM_DATABASE": "Audio Adapter",
"ID_MODEL_ID": "000c",
"ID_REVISION": "0100",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_SERIAL": "0d8c_C-Media_USB_Headphone_Set",
"ID_USB_INTERFACES": ":010100:010200:",
"ID_VENDOR": "0d8c",
"ID_VENDOR_ENC": "0d8c",
"ID_VENDOR_FROM_DATABASE": "C-Media Electronics, Inc.",
"ID_VENDOR_ID": "0d8c",
"MAJOR": "189",
"MINOR": "385",
"PRODUCT": "d8c/c/100",
"SUBSYSTEM": "usb",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "0/0/0",
"USEC_INITIALIZED": "76379"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6"
},
{
"devtype": "usb_interface",
"driver": "snd-usb-audio",
"is_initialized": true,
"name": "4-6:1.0",
"number": "0",
"property_keys": {
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0",
"DEVTYPE": "usb_interface",
"DRIVER": "snd-usb-audio",
"ID_AVOID_LOOP": "1",
"ID_MODEL_FROM_DATABASE": "Audio Adapter",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_VENDOR_FROM_DATABASE": "C-Media Electronics, Inc.",
"INTERFACE": "1/1/0",
"MODALIAS": "usb:v0D8Cp000Cd0100dc00dsc00dp00ic01isc01ip00in00",
"PRODUCT": "d8c/c/100",
"SUBSYSTEM": "usb",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "0/0/0",
"USEC_INITIALIZED": "79111"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0"
},
{
"is_initialized": true,
"name": "card2",
"number": "2",
"property_keys": {
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2",
"ID_BUS": "usb",
"ID_FOR_SEAT": "sound-platform-nhBC2D98001BE3-usb-0_6_1_0",
"ID_ID": "usb-0d8c_C-Media_USB_Headphone_Set-00-Set_1",
"ID_MODEL": "C-Media_USB_Headphone_Set",
"ID_MODEL_ENC": "C-Media\\x20USB\\x20Headphone\\x20Set\\x20\\x20",
"ID_MODEL_FROM_DATABASE": "Audio Adapter",
"ID_MODEL_ID": "000c",
"ID_PATH": "platform-nhBC2D98001BE3-usb-0:6:1.0",
"ID_PATH_TAG": "platform-nhBC2D98001BE3-usb-0_6_1_0",
"ID_REVISION": "0100",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_SERIAL": "0d8c_C-Media_USB_Headphone_Set",
"ID_TYPE": "audio",
"ID_USB_DRIVER": "snd-usb-audio",
"ID_USB_INTERFACES": ":010100:010200:",
"ID_USB_INTERFACE_NUM": "00",
"ID_VENDOR": "0d8c",
"ID_VENDOR_ENC": "0d8c",
"ID_VENDOR_FROM_DATABASE": "C-Media Electronics, Inc.",
"ID_VENDOR_ID": "0d8c",
"SOUND_FORM_FACTOR": "headphone",
"SOUND_INITIALIZED": "1",
"SUBSYSTEM": "sound",
"SYSTEMD_WANTS": "sound.target",
"TAGS": ":seat:seat-usb-platform-nhBC2D98001BE3:systemd:",
"USEC_INITIALIZED": "212293"
},
"subsystem": "sound",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2"
},
{
"device_file": "/dev/snd/pcmC2D0c",
"is_initialized": true,
"name": "pcmC2D0c",
"property_keys": {
"DEVNAME": "/dev/snd/pcmC2D0c",
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2/pcmC2D0c",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"MAJOR": "116",
"MINOR": "14",
"SUBSYSTEM": "sound",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:uaccess:",
"USEC_INITIALIZED": "212408"
},
"subsystem": "sound",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2/pcmC2D0c"
},
{
"device_file": "/dev/snd/pcmC2D0p",
"is_initialized": true,
"name": "pcmC2D0p",
"property_keys": {
"DEVNAME": "/dev/snd/pcmC2D0p",
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2/pcmC2D0p",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"MAJOR": "116",
"MINOR": "13",
"SUBSYSTEM": "sound",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:uaccess:",
"USEC_INITIALIZED": "212365"
},
"subsystem": "sound",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2/pcmC2D0p"
},
{
"device_file": "/dev/snd/controlC2",
"is_initialized": true,
"name": "controlC2",
"number": "2",
"property_keys": {
"DEVLINKS": "/dev/snd/by-id/usb-0d8c_C-Media_USB_Headphone_Set-00 /dev/snd/by-path/platform-nhBC2D98001BE3-usb-0:6:1.0",
"DEVNAME": "/dev/snd/controlC2",
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2/controlC2",
"ID_BUS": "usb",
"ID_MODEL": "C-Media_USB_Headphone_Set",
"ID_MODEL_ENC": "C-Media\\x20USB\\x20Headphone\\x20Set\\x20\\x20",
"ID_MODEL_ID": "000c",
"ID_PATH": "platform-nhBC2D98001BE3-usb-0:6:1.0",
"ID_PATH_TAG": "platform-nhBC2D98001BE3-usb-0_6_1_0",
"ID_REVISION": "0100",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_SERIAL": "0d8c_C-Media_USB_Headphone_Set",
"ID_TYPE": "audio",
"ID_USB_DRIVER": "snd-usb-audio",
"ID_USB_INTERFACES": ":010100:010200:",
"ID_USB_INTERFACE_NUM": "00",
"ID_VENDOR": "0d8c",
"ID_VENDOR_ENC": "0d8c",
"ID_VENDOR_ID": "0d8c",
"MAJOR": "116",
"MINOR": "12",
"SUBSYSTEM": "sound",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:uaccess:",
"USEC_INITIALIZED": "212328"
},
"subsystem": "sound",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.0/sound/card2/controlC2"
},
{
"devtype": "usb_interface",
"driver": "snd-usb-audio",
"is_initialized": true,
"name": "4-6:1.1",
"number": "1",
"property_keys": {
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.1",
"DEVTYPE": "usb_interface",
"DRIVER": "snd-usb-audio",
"ID_AVOID_LOOP": "1",
"ID_MODEL_FROM_DATABASE": "Audio Adapter",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_VENDOR_FROM_DATABASE": "C-Media Electronics, Inc.",
"INTERFACE": "1/2/0",
"MODALIAS": "usb:v0D8Cp000Cd0100dc00dsc00dp00ic01isc02ip00in01",
"PRODUCT": "d8c/c/100",
"SUBSYSTEM": "usb",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "0/0/0",
"USEC_INITIALIZED": "212449"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.1"
},
{
"devtype": "usb_interface",
"driver": "snd-usb-audio",
"is_initialized": true,
"name": "4-6:1.2",
"number": "2",
"property_keys": {
"DEVPATH": "/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.2",
"DEVTYPE": "usb_interface",
"DRIVER": "snd-usb-audio",
"ID_AVOID_LOOP": "1",
"ID_MODEL_FROM_DATABASE": "Audio Adapter",
"ID_SEAT": "seat-usb-platform-nhBC2D98001BE3",
"ID_VENDOR_FROM_DATABASE": "C-Media Electronics, Inc.",
"INTERFACE": "1/2/0",
"MODALIAS": "usb:v0D8Cp000Cd0100dc00dsc00dp00ic01isc02ip00in02",
"PRODUCT": "d8c/c/100",
"SUBSYSTEM": "usb",
"TAGS": ":seat-usb-platform-nhBC2D98001BE3:",
"TYPE": "0/0/0",
"USEC_INITIALIZED": "212477"
},
"subsystem": "usb",
"sysfs_path": "/sys/devices/platform/nhBC2D98001BE3/usb4/4-6/4-6:1.2"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if no devices are found
Returns the information about the network device specified by giving the IP_Address.
get /network/{ip}
Returns the information about the network device specified by giving the IP_Address.
URI Parameters
- ip: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"seatId": "seat-usb-platform-nhBC2D98001C57",
"name": "ThinGlobal MiniPoint",
"location": "",
"ip": "192.168.131.96",
"mac": "bc:2d:98:00:1c:57",
"status": "CONNECTED",
"devices": [
{
"id": {
"value": "61866171-0548-4226-8447-F58A0B68AA80"
},
"type": "DISPLAY",
"vid": "0424",
"pid": "9D01",
"manufacturer": "",
"model": "Generic Zero-Client",
"serial": ""
},
{
"id": {
"value": "451A6254-ADC4-4B45-98EF-52C38641A9FD"
},
"type": "MEDIA_DEVICE",
"vid": "0D8C",
"pid": "000C",
"manufacturer": "USB ",
"model": "C-Media Headphone Set ",
"serial": ""
}
],
"model": " Generic Zero-Client",
"firmware": "039.100"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested station network is not found.
Resets the network device specified by giving the IP_Address.
put /network/{ip}/reset
Resets the network device specified by giving the IP_Address.
URI Parameters
- ip: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Lock a network device to the Userful host, thus changing the status to online in Control Center.
put /network/{ip}/lock
Lock a network device to the Userful host, thus changing the status to online in Control Center.
URI Parameters
- ip: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Unlock a network device from the Userful host, thus changing the status from online to available in Control Center.
put /network/{ip}/unlock
Unlock a network device from the Userful host, thus changing the status from online to available in Control Center.
URI Parameters
- ip: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
/displays
Returns information about the displays.
get /displays
Returns information about the displays.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- isStandaloneOnly: (boolean)
Only list the displays which are not part of any zone.
HTTP status code 200
Body
Media type: application/json
Example:
{
"displays": [
{
"displayId": 1,
"seatId": "seat0",
"isOnline": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": true,
"stationType": "STANDALONE"
},
{
"displayId": 2,
"seatId": "seat-usb-platform-nh001FD800300D",
"isOnline": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": true,
"stationType": "VIDEOWALL"
},
{
"displayId": 3,
"seatId": "seat-usb-platform-nhBC2D98001FEA",
"isOnline": true,
"playingSourceId": "",
"isShowingWelcomeScreen": false,
"stationType": "VIDEOWALL_ZONE_INACTIVE"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Returns information about the display specified by giving the displayId.
get /displays/{displayId}
Returns information about the display specified by giving the displayId.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"displayId": 1,
"seatId": "seat0",
"isOnline": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": true
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested dipslay is not found.
Switch the display to other source. Source can be specified as request parameters (same as in version 1.3) or in request body
put /displays/{displayId}/switch
Switch the display to other source. Source can be specified as request parameters (same as in version 1.3) or in request body
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- destinationSourceId: (string)
The destination source ID the display will switch to. One of destinationSourceId and destinationSourceName must be provided.
- destinationSourceName: (string)
The destination source Name the display will switch to. One of destinationSourceId and destinationSourceName must be provided.
- isShowWelcomeScreen: (boolean)
False by default. If false, the specified source will be started immediately. If true, display will show the welcome screen.
Body
Media type: application/json
Example:
{
"sourceId":"ABC-123-DEF-456",
"sourceName":"Control Room Sample"
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"displayId": 1,
"seatId": "seat0",
"isOnline": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": true
}
HTTP status code 400
Returned if the destinationSourceId isn't specified.
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested display or destination source are not found.
Play the video list on the display.
put /displays/{displayId}/playVideoList
Play the video list on the display.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"videolist": [
"/video/1.mp4",
"/video/2.mp4"
],
"queue": false,
"repeat": false,
"slideshowInterval": 10
}
Play a specific source or the assigned source on the display (same as playAssignedSource in v1.2) if no sourceId/sourceName is specified
put /displays/{displayId}/play
Play a specific source or the assigned source on the display (same as playAssignedSource in v1.2) if no sourceId/sourceName is specified
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"sourceId":"ABC-123-DEF-456",
"sourceName":"Control Room Sample"
}
Pause the display if it is playing a video source
put /displays/{displayId}/pause
Pause the display if it is playing a video source
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Resume the display if it was pause during playing a video source
put /displays/{displayId}/resume
Resume the display if it was pause during playing a video source
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Resets the display by giving the displayId. Regardless of type (On-board, USB, or Network), the specified display will reset by restarting X.
put /displays/{displayId}/reset
Resets the display by giving the displayId. Regardless of type (On-board, USB, or Network), the specified display will reset by restarting X.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Rewind the display by specified milliseconds if it is playing a signage source
put /displays/{displayId}/rewind
Rewind the display by specified milliseconds if it is playing a signage source
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Fast-forward the display by specified milliseconds if it is playing a signage source
put /displays/{displayId}/forward
Fast-forward the display by specified milliseconds if it is playing a signage source
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Go to a specific play time on the display if it is playing a signage source
put /displays/{displayId}/seek
Go to a specific play time on the display if it is playing a signage source
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Get the playing current media info of the display if it is playing a signage source. '-1' totalDurationInMillliseconds means it's playing a non-signage source
get /displays/{displayId}/mediainfo
Get the playing current media info of the display if it is playing a signage source. '-1' totalDurationInMillliseconds means it's playing a non-signage source
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"filename":"/shared-files/signage/video1.mpeg",
"totalDurationInMillliseconds": 65000,
"currentTimeInMilliseconds": 5000
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested display is not found.
Retrieve display's current and available resolutions.
Set the display's resolution.
get /displays/{displayId}/settings
Retrieve display's current and available resolutions.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"displayId": 3,
"currentResolution": {
"width": 1920,
"height": 1080
},
"availableResolutions": [
{
"width": 1920,
"height": 1080
},
{
"width": 1680,
"height": 1050
},
{
"width": 1600,
"height": 900
},
{
"width": 1440,
"height": 900
},
{
"width": 1400,
"height": 1050
},
{
"width": 1280,
"height": 1024
},
{
"width": 1280,
"height": 800
},
{
"width": 1280,
"height": 720
},
{
"width": 1152,
"height": 864
},
{
"width": 1024,
"height": 768
},
{
"width": 800,
"height": 600
},
{
"width": 720,
"height": 400
},
{
"width": 640,
"height": 480
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the display is not found.
put /displays/{displayId}/settings
Set the display's resolution.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"width": 1920,
"height": 1080
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"displayId": 3,
"currentResolution": {
"width": 1920,
"height": 1080
},
"availableResolutions": [
{
"width": 1920,
"height": 1080
},
{
"width": 1680,
"height": 1050
},
{
"width": 1600,
"height": 900
},
{
"width": 1440,
"height": 900
},
{
"width": 1400,
"height": 1050
},
{
"width": 1280,
"height": 1024
},
{
"width": 1280,
"height": 800
},
{
"width": 1280,
"height": 720
},
{
"width": 1152,
"height": 864
},
{
"width": 1024,
"height": 768
},
{
"width": 800,
"height": 600
},
{
"width": 720,
"height": 400
},
{
"width": 640,
"height": 480
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the display is not found.
Returns the current set tag on the given display. This is visible on an individual stand alone display in the mapping page.
Sets the tag on a display.
get /displays/{displayId}/tag
Returns the current set tag on the given display. This is visible on an individual stand alone display in the mapping page.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
put /displays/{displayId}/tag
Sets the tag on a display.
URI Parameters
- displayId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"displayTag":"E Hall"
}
/zones
Returns the list of existing zones.
get /zones
Returns the list of existing zones.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zones": [
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": false,
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE",
"controlDisplayId": 1,
"zoneDisplays": [
{
"displayId": 1,
"isSelected": true
},
{
"displayId": 2,
"isSelected": true
},
{
"displayId": 3,
"isSelected": false
},
{
"displayId": 4,
"isSelected": false
}
]
},
{
"zoneId": "897zf456-e869-11e5-9730-9a79f06e1235",
"zoneName": "video wall 2",
"isPlaying": true,
"playingSourceId": "7S865B42-4900-4C08-A11E-F6014C81B789",
"isShowingWelcomeScreen": false,
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE",
"controlDisplayId": 3,
"zoneDisplays": [
{
"displayId": 1,
"isSelected": false
},
{
"displayId": 2,
"isSelected": false
},
{
"displayId": 3,
"isSelected": true
},
{
"displayId": 4,
"isSelected": true
}
]
}
]
}
HTTP status code 401
Returned if the session id is invalid or session timeout.
Returns information about the zone specified by giving zone name.
get /zones/byname/{zoneName}
Returns information about the zone specified by giving zone name.
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": false,
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE",
"controlDisplayId": 1,
"zoneDisplays": [
{
"displayId": 1,
"isSelected": true
},
{
"displayId": 2,
"isSelected": true
},
{
"displayId": 3,
"isSelected": false
},
{
"displayId": 4,
"isSelected": false
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Change the zone name.
put /zones/byname/{zoneName}/rename
Change the zone name.
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- newZoneName: required (string)
The new video wall zone name that will be changed into
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 400
Returned if the newZoneName isn't specified.
HTTP status code 401
Returned if the session id is invalid or session time out.
Switch the zone to other source.
put /zones/byname/{zoneName}/switch
Switch the zone to other source.
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- destinationSourceId: (string)
The destination source ID the zone will switch to. One of destinationSourceId and destinationSourceName must be provided.
- destinationSourceName: (string)
The destination source Name the zone will switch to. One of destinationSourceId and destinationSourceName must be provided.
- isShowWelcomeScreen: (boolean)
False by default. If false, the specified source will be started immediately. If true, zone will show the welcome screen.
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 400
Returned if the destinationSourceName isn't specified.
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone or destination source are not found.
Play the assigned source on the zone (same as playAssignedSource in v1.2).
put /zones/byname/{zoneName}/play
Play the assigned source on the zone (same as playAssignedSource in v1.2).
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Play the video list on the zone specified by giving zoneId.
put /zones/byname/{zoneName}/playVideoList
Play the video list on the zone specified by giving zoneId.
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"videolist": [
"/video/1.mp4",
"/video/2.mp4"
],
"queue": false,
"repeat": false,
"slideshowInterval": 10
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Stop the playing zone.
put /zones/byname/{zoneName}/stop
Stop the playing zone.
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Resume the zone.
put /zones/byname/{zoneName}/resume
Resume the zone.
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Pause the zone
put /zones/byname/{zoneName}/pause
Pause the zone
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Rewind the zone by specified milliseconds
put /zones/byname/{zoneName}/rewind
Rewind the zone by specified milliseconds
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Fast-forward the zone by specified milliseconds
put /zones/byname/{zoneName}/forward
Fast-forward the zone by specified milliseconds
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Go to a specific play time on the zone
put /zones/byname/{zoneName}/seek
Go to a specific play time on the zone
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Get the current media info of the zone. '-1' totalDurationInMillliseconds means it's playing a non-signage source
get /zones/byname/{zoneName}/mediainfo
Get the current media info of the zone. '-1' totalDurationInMillliseconds means it's playing a non-signage source
URI Parameters
- zoneName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"filename":"/shared-files/signage/video1.mpeg",
"totalDurationInMillliseconds": 65000,
"currentTimeInMilliseconds": 5000
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Returns information about the zone specified by the given videowallId.
get /zones/byvideowallid/{videoWallId}
Returns information about the zone specified by the given videowallId.
URI Parameters
- videoWallId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zones": [
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": false,
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE",
"controlDisplayId": 1,
"zoneDisplays": [
{
"displayId": 1,
"isSelected": true
},
{
"displayId": 2,
"isSelected": true
},
{
"displayId": 3,
"isSelected": false
},
{
"displayId": 4,
"isSelected": false
}
]
},
{
"zoneId": "897zf456-e869-11e5-9730-9a79f06e1235",
"zoneName": "video wall 2",
"isPlaying": true,
"playingSourceId": "7S865B42-4900-4C08-A11E-F6014C81B789",
"isShowingWelcomeScreen": false,
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE",
"controlDisplayId": 3,
"zoneDisplays": [
{
"displayId": 1,
"isSelected": false
},
{
"displayId": 2,
"isSelected": false
},
{
"displayId": 3,
"isSelected": true
},
{
"displayId": 4,
"isSelected": true
}
]
}
]
}
HTTP status code 401
Returned if the session id is invalid or session timeout.
Returns information about the zone specified by the given zoneId.
get /zones/{zoneId}
Returns information about the zone specified by the given zoneId.
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"isShowingWelcomeScreen": false,
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE",
"controlDisplayId": 1,
"zoneDisplays": [
{
"displayId": 1,
"isSelected": true
},
{
"displayId": 2,
"isSelected": true
},
{
"displayId": 3,
"isSelected": false
},
{
"displayId": 4,
"isSelected": false
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Switch the zone to other source.
put /zones/{zoneId}/switch
Switch the zone to other source.
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Query Parameters
- destinationSourceId: (string)
The destination source ID the zone will switch to. One of destinationSourceId and destinationSourceName must be provided.
- destinationSourceName: (string)
The destination source Name the zone will switch to. One of destinationSourceId and destinationSourceName must be provided.
- isShowWelcomeScreen: (boolean)
False by default. If false, the specified source will be started immediately. If true, zone will show the welcome screen.
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 400
Returned if the destinationSourceId isn't specified.
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone or destination source are not found.
Play the source assigned to the zone (same as playAssignedSource in v1.2).
put /zones/{zoneId}/play
Play the source assigned to the zone (same as playAssignedSource in v1.2).
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Play the video list.
put /zones/{zoneId}/playVideoList
Play the video list.
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"videolist": [
"/video/1.mp4",
"/video/2.mp4"
],
"queue": false,
"repeat": false,
"slideshowInterval": 10
}
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Stop the playing zone.
put /zones/{zoneId}/stop
Stop the playing zone.
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Resume the zone.
put /zones/{zoneId}/resume
Resume the zone.
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Pause the zone
put /zones/{zoneId}/pause
Pause the zone
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "video wall 1",
"isPlaying": true,
"playingSourceId": "6B199B42-4900-4C07-A11E-F6014C81B292",
"videowallId": "30770D86-3636-45C0-A756-19C4A607ABDE"
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Rewind the zone by specified milliseconds
put /zones/{zoneId}/rewind
Rewind the zone by specified milliseconds
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Fast-forward the zone by specified milliseconds
put /zones/{zoneId}/forward
Fast-forward the zone by specified milliseconds
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Go to a specific play time on the zone
put /zones/{zoneId}/seek
Go to a specific play time on the zone
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Get the currnet media info of the zone. '-1' totalDurationInMillliseconds means it's playing a non-signage source
get /zones/{zoneId}/mediainfo
Get the currnet media info of the zone. '-1' totalDurationInMillliseconds means it's playing a non-signage source
URI Parameters
- zoneId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"filename":"/shared-files/signage/video1.mpeg",
"totalDurationInMillliseconds": 65000,
"currentTimeInMilliseconds": 5000
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
/videowalls
Returns information about all the video walls for the Userful host.
get /videowalls
Returns information about all the video walls for the Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"videowalls": [
{
"id": "30770D86-3636-45C0-A756-19C4A607ABDE",
"canvasGeometry": {
"width": 905.520745718542,
"height": 249.05270973333995,
"centerX": 452.760372859271,
"centerY": 124.52635486666998,
"rotationDegrees": 0
},
"monitors": [
{
"displayId": 1,
"monitorDiagonal": {
"lengthInMillimeter": 508
},
"monitorGeometry": {
"width": 442.760372859271,
"height": 249.05270973333995,
"centerX": 221.3801864296355,
"centerY": 124.52635486666998,
"rotationDegrees": 0
}
},
{
"displayId": 2,
"monitorDiagonal": {
"lengthInMillimeter": 508
},
"monitorGeometry": {
"width": 442.760372859271,
"height": 249.05270973333995,
"centerX": 684.1405592889065,
"centerY": 124.52635486666998,
"rotationDegrees": 0
}
}
],
"zones": [
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "Zone-0"
},
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9479",
"zoneName": "Zone-1"
}
]
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Returns information about the videowall specified by the given videoWallId.
Delete the videowall specified by the given videowallId.
get /videowalls/{videoWallId}
Returns information about the videowall specified by the given videoWallId.
URI Parameters
- videoWallId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"id": "30770D86-3636-45C0-A756-19C4A607ABDE",
"canvasGeometry": {
"width": 905.520745718542,
"height": 249.05270973333995,
"centerX": 452.760372859271,
"centerY": 124.52635486666998,
"rotationDegrees": 0
},
"monitors": [
{
"displayId": 1,
"monitorDiagonal": {
"lengthInMillimeter": 508
},
"monitorGeometry": {
"width": 442.760372859271,
"height": 249.05270973333995,
"centerX": 221.3801864296355,
"centerY": 124.52635486666998,
"rotationDegrees": 0
}
},
{
"displayId": 2,
"monitorDiagonal": {
"lengthInMillimeter": 508
},
"monitorGeometry": {
"width": 442.760372859271,
"height": 249.05270973333995,
"centerX": 684.1405592889065,
"centerY": 124.52635486666998,
"rotationDegrees": 0
}
}
],
"zones": [
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9478",
"zoneName": "Zone-0"
},
{
"zoneId": "178da782-e721-11e5-9730-9a79f06e9479",
"zoneName": "Zone-1"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested video wall is not found.
delete /videowalls/{videoWallId}
Delete the videowall specified by the given videowallId.
URI Parameters
- videoWallId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
/mirrorgroups
Returns information about all the mirror groups for the Userful host.
get /mirrorgroups
Returns information about all the mirror groups for the Userful host.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"mirrorgroups": [
{
"id": "178da782-e721-11e5-9730-9a79f06e9478",
"name": "Mirror Group 1"
},
{
"id": "178da782-e721-11e5-9730-9a79f06e9479",
"name": "Mirror Group 2"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Returns information about the mirror groups specified by the given mirrorgroupName.
get /mirrorgroups/byname/{mirrorgroupName}
Returns information about the mirror groups specified by the given mirrorgroupName.
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Play the given video list assigned to the mirror group.
put /mirrorgroups/byname/{mirrorgroupName}/playVideoList
Play the given video list assigned to the mirror group.
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"videolist": [
"/video/1.mp4",
"/video/2.mp4"
],
"queue": false,
"repeat": false,
"slideshowInterval": 10
}
Play a specific source or the assigned source on the mirror group (same as playAssignedSource in v1.2) if no sourceId/sourceName is specified
put /mirrorgroups/byname/{mirrorgroupName}/play
Play a specific source or the assigned source on the mirror group (same as playAssignedSource in v1.2) if no sourceId/sourceName is specified
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"sourceId":"ABC-123-DEF-456",
"sourceName":"Control Room Sample"
}
Pause the mirror group if it is playing a video source
put /mirrorgroups/byname/{mirrorgroupName}/pause
Pause the mirror group if it is playing a video source
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Resume the mirror group if it was pause during playing a video source
put /mirrorgroups/byname/{mirrorgroupName}/resume
Resume the mirror group if it was pause during playing a video source
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Rewind the mirror group by specified milliseconds if it is playing a signage source
put /mirrorgroups/byname/{mirrorgroupName}/rewind
Rewind the mirror group by specified milliseconds if it is playing a signage source
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Fast-forward the mirror group by specified milliseconds if it is playing signage source
put /mirrorgroups/byname/{mirrorgroupName}/forward
Fast-forward the mirror group by specified milliseconds if it is playing signage source
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Go to a specific play time on the mirror group if it is playing signage source
put /mirrorgroups/byname/{mirrorgroupName}/seek
Go to a specific play time on the mirror group if it is playing signage source
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Get the current media info of the mirror group if it is playing a signage source. '-1' totalDurationInMillliseconds means it's playing a non-signage source
get /mirrorgroups/byname/{mirrorgroupName}/mediainfo
Get the current media info of the mirror group if it is playing a signage source. '-1' totalDurationInMillliseconds means it's playing a non-signage source
URI Parameters
- mirrorgroupName: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"filename":"/shared-files/signage/video1.mpeg",
"totalDurationInMillliseconds": 65000,
"currentTimeInMilliseconds": 5000
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
Returns information about the mirror groups specified by the given mirrorgroupId.
get /mirrorgroups/{mirrorgroupId}
Returns information about the mirror groups specified by the given mirrorgroupId.
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Play the video list assigned to the mirror group.
put /mirrorgroups/{mirrorgroupId}/playVideoList
Play the video list assigned to the mirror group.
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"videolist": [
"/video/1.mp4",
"/video/2.mp4"
],
"queue": false,
"repeat": false,
"slideshowInterval": 10
}
Play a specific source or the assigned source on the mirror group (same as playAssignedSource in v1.2) if no sourceId/sourceName is specified
put /mirrorgroups/{mirrorgroupId}/play
Play a specific source or the assigned source on the mirror group (same as playAssignedSource in v1.2) if no sourceId/sourceName is specified
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"sourceId":"ABC-123-DEF-456",
"sourceName":"Control Room Sample"
}
Pause the mirror group if it is playing a video source
put /mirrorgroups/{mirrorgroupId}/pause
Pause the mirror group if it is playing a video source
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Resume the mirror group if it was pause during playing a video source
put /mirrorgroups/{mirrorgroupId}/resume
Resume the mirror group if it was pause during playing a video source
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Rewind the mirror group by specified milliseconds if it is playing a signage source
put /mirrorgroups/{mirrorgroupId}/rewind
Rewind the mirror group by specified milliseconds if it is playing a signage source
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Fast-forward the mirror group by specified milliseconds if it is playing signage source
put /mirrorgroups/{mirrorgroupId}/forward
Fast-forward the mirror group by specified milliseconds if it is playing signage source
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Go to a specific play time on the mirror group if it is playing signage source
put /mirrorgroups/{mirrorgroupId}/seek
Go to a specific play time on the mirror group if it is playing signage source
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"time": 5000
}
Get the current media info of the mirror group if it is playing a signage source. '-1' totalDurationInMillliseconds means it's playing a non-signage source
get /mirrorgroups/{mirrorgroupId}/mediainfo
Get the current media info of the mirror group if it is playing a signage source. '-1' totalDurationInMillliseconds means it's playing a non-signage source
URI Parameters
- mirrorgroupId: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"filename":"/shared-files/signage/video1.mpeg",
"totalDurationInMillliseconds": 65000,
"currentTimeInMilliseconds": 5000
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if the requested zone is not found.
/failover-group
Returns information about failover group which the current Userful host belongs to.
If the failover-group does not exist, create and join the failover-group. Both members of the group must be sent the same request in order to form a failover group
Let the Userful host exit from the current failover-group. If there is only one Userful host in the group, the group will be deleted.
get /failover-group
Returns information about failover group which the current Userful host belongs to.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"groupname": "Test group 1",
"systems": [
{
"hostname": "xx",
"systemID": "E00-5572-09AB-6197",
"isLocalHost": true
},
{
"hostname": "vvv",
"systemID": "E00-75BC-5577-9694",
"isLocalHost": false
}
],
"autofailback": true,
"autofailbackGracePeriodInSeconds": 300,
"hostnameSwitching" : false
}
HTTP status code 401
Returned if the session id is invalid or session timeout.
HTTP status code 404
Returned if my failover group is not found.
post /failover-group
If the failover-group does not exist, create and join the failover-group. Both members of the group must be sent the same request in order to form a failover group
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"groupname": "Test group 1",
"systems": [
{
"hostname": "xx",
"systemID": "E00-5572-09AB-6197"
},
{
"hostname": "vvv",
"systemID": "E00-75BC-5577-9694"
}
],
"autofailback": true,
"autofailbackGracePeriodInSeconds": 300,
"hostnameSwitching" : false
}
delete /failover-group
Let the Userful host exit from the current failover-group. If there is only one Userful host in the group, the group will be deleted.
/failover-group-v2
Returns all failover settings
Setup failover on this system. This call fails if the system is already in a failover group. In most cases it is recommended to call /system/reboot after this call to ensure that the failover group has been activated.
Let the Userful host exit from the current failover-group. If there is only one Userful host in the group, the group will be deleted.
get /failover-group-v2
Returns all failover settings
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"groupName": "test group 1",
"primary": true,
"autoFailover": true,
"autoFailback": true,
"autoFailbackGraceSeconds": 30,
"useHostNameSwitching": false,
"failoverInterface": "",
"peerIP": "",
"password": "secret"
}
HTTP status code 401
Returned if the session id is invalid or session timeout.
HTTP status code 404
Returned if my failover group is not found.
post /failover-group-v2
Setup failover on this system. This call fails if the system is already in a failover group. In most cases it is recommended to call /system/reboot after this call to ensure that the failover group has been activated.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"groupName": "test group 1",
"primary": true,
"autoFailover": true,
"autoFailback": true,
"autoFailbackGraceSeconds": 30,
"useHostNameSwitching": false,
"failoverInterface": "",
"peerIP": "",
"password": "secret"
}
delete /failover-group-v2
Let the Userful host exit from the current failover-group. If there is only one Userful host in the group, the group will be deleted.
/failover-group-network-settings
Returns the current network settings used by failover, which includes network interface (blank means use system default), auto-discover peers, manually-set peer ip.
Specific network interface and peer discovery method. Call GET to see a list of available interfaces. Call PUT:/system/reboot afterward for the changes to take effect.
get /failover-group-network-settings
Returns the current network settings used by failover, which includes network interface (blank means use system default), auto-discover peers, manually-set peer ip.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"failoverInterface": "enp0s26u1u2",
"availableInterfaces": [
"enp2s0",
"enp0s26u1u2"
],
"autoDiscoverPeer": false,
"peerIP": "192.168.129.97"
}
HTTP status code 401
Returned if the session id is invalid or session timeout.
HTTP status code 404
Returned if my failover group is not found.
post /failover-group-network-settings
Specific network interface and peer discovery method. Call GET to see a list of available interfaces. Call PUT:/system/reboot afterward for the changes to take effect.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"failoverInterface": "enp0s26u1u2",
"autoDiscoverPeer": false,
"peerIP": "192.168.129.97"
}
/printprofiles
update print profile with the same queue name or create new print profile
Returns list of print profiles.
post /printprofiles
update print profile with the same queue name or create new print profile
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"printProfiles": [
{
"isGlobal": true,
"queueName": "global",
"print_dialog": true,
"cost_per_page": 1,
"free_pages_per_session": 25,
"session_page_limit": 100,
"release_jobs": true,
"show_text_entry": false,
"text_entry_label": "Enter text",
"max_entry_chars": 20,
"min_entry_chars": 3,
"printer_invoice_procedures": "noreceipt",
"color_page_count_plural_message": "You are about to print {number} color pages.",
"color_page_count_singular_message": "You are about to print 1 color page.",
"dialog_title": "Would you like to print?",
"exceed_total_page_count_message": "This print job exceeds the amount of pages left in the session. Print job cancelled.",
"failed_page_count_accounting_message": "Cancelling job since page accounting is enabled.",
"failed_page_count_message": "Unable to determine number of pages.",
"free_page_count_plural_message": "You will have {number} free pages left after this print job.",
"free_page_count_singular_message": "You will have 1 free page left after this print job.",
"other_dialog_title": "Userful Printing",
"page_cost_message": "The cost is {price}.",
"page_count_plural_message": "You are about to print {number} pages.",
"page_count_singular_message": "You are about to print 1 page.",
"print_receipt_checkbox_label": "Print Receipt",
"total_page_count_plural_message": "You will only be able to print {number} pages after this print job.",
"costPerPage": 1,
"textEntryLabel": "Enter text",
"printReceiptCheckboxLabel": "Print Receipt",
"freePageCountSingularMessage": "You will have 1 free page left after this print job.",
"maxEntryChars": 20,
"exceedTotalPageCountMessage": "This print job exceeds the amount of pages left in the session. Print job cancelled.",
"showDialog": true,
"failedPageCountAccountingMessage": "Cancelling job since page accounting is enabled.",
"colorPageCountSingularMessage": "You are about to print 1 color page.",
"totalPageCountPluralMessage": "You will only be able to print {number} pages after this print job.",
"failedPageCountMessage": "Unable to determine number of pages.",
"dialogTitle": "Would you like to print?",
"colorPageCountPluralMessage": "You are about to print {number} color pages.",
"pageCountPluralMessage": "You are about to print {number} pages.",
"global": true,
"pageCountSingularMessage": "You are about to print 1 page.",
"freePageCountPluralMessage": "You will have {number} free pages left after this print job.",
"pageCostMessage": "The cost is {price}.",
"printInvoiceProcedure": "noreceipt",
"freePages": 25,
"pageLimit": 100,
"otherDialogTitle": "Userful Printing",
"minEntryChars": 3,
"autoReleaseJob": true,
"showTextEntry": false
},
{
"isGlobal": false,
"queueName": "printer1",
"print_dialog": false,
"release_jobs": true,
"show_text_entry": false,
"showDialog": false,
"global": false,
"autoReleaseJob": true,
"showTextEntry": false
}
]
}
get /printprofiles
Returns list of print profiles.
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"printProfiles": [
{
"isGlobal": true,
"queueName": "global",
"print_dialog": true,
"cost_per_page": 1,
"free_pages_per_session": 25,
"session_page_limit": 100,
"release_jobs": true,
"show_text_entry": false,
"text_entry_label": "Enter text",
"max_entry_chars": 20,
"min_entry_chars": 3,
"printer_invoice_procedures": "noreceipt",
"color_page_count_plural_message": "You are about to print {number} color pages.",
"color_page_count_singular_message": "You are about to print 1 color page.",
"dialog_title": "Would you like to print?",
"exceed_total_page_count_message": "This print job exceeds the amount of pages left in the session. Print job cancelled.",
"failed_page_count_accounting_message": "Cancelling job since page accounting is enabled.",
"failed_page_count_message": "Unable to determine number of pages.",
"free_page_count_plural_message": "You will have {number} free pages left after this print job.",
"free_page_count_singular_message": "You will have 1 free page left after this print job.",
"other_dialog_title": "Userful Printing",
"page_cost_message": "The cost is {price}.",
"page_count_plural_message": "You are about to print {number} pages.",
"page_count_singular_message": "You are about to print 1 page.",
"print_receipt_checkbox_label": "Print Receipt",
"total_page_count_plural_message": "You will only be able to print {number} pages after this print job.",
"costPerPage": 1,
"textEntryLabel": "Enter text",
"printReceiptCheckboxLabel": "Print Receipt",
"freePageCountSingularMessage": "You will have 1 free page left after this print job.",
"maxEntryChars": 20,
"exceedTotalPageCountMessage": "This print job exceeds the amount of pages left in the session. Print job cancelled.",
"showDialog": true,
"failedPageCountAccountingMessage": "Cancelling job since page accounting is enabled.",
"colorPageCountSingularMessage": "You are about to print 1 color page.",
"totalPageCountPluralMessage": "You will only be able to print {number} pages after this print job.",
"failedPageCountMessage": "Unable to determine number of pages.",
"dialogTitle": "Would you like to print?",
"colorPageCountPluralMessage": "You are about to print {number} color pages.",
"pageCountPluralMessage": "You are about to print {number} pages.",
"global": true,
"pageCountSingularMessage": "You are about to print 1 page.",
"freePageCountPluralMessage": "You will have {number} free pages left after this print job.",
"pageCostMessage": "The cost is {price}.",
"printInvoiceProcedure": "noreceipt",
"freePages": 25,
"pageLimit": 100,
"otherDialogTitle": "Userful Printing",
"minEntryChars": 3,
"autoReleaseJob": true,
"showTextEntry": false
},
{
"isGlobal": false,
"queueName": "printer1",
"print_dialog": false,
"release_jobs": true,
"show_text_entry": false,
"showDialog": false,
"global": false,
"autoReleaseJob": true,
"showTextEntry": false
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Return print profiles with specified queue name
delete print profiles with specified queue name
get /printprofiles/{queuename}
Return print profiles with specified queue name
URI Parameters
- queuename: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
HTTP status code 200
Body
Media type: application/json
Example:
{
"printProfiles": [
{
"isGlobal": true,
"queueName": "global",
"print_dialog": true,
"cost_per_page": 1,
"free_pages_per_session": 25,
"session_page_limit": 100,
"release_jobs": true,
"show_text_entry": false,
"text_entry_label": "Enter text",
"max_entry_chars": 20,
"min_entry_chars": 3,
"printer_invoice_procedures": "noreceipt",
"color_page_count_plural_message": "You are about to print {number} color pages.",
"color_page_count_singular_message": "You are about to print 1 color page.",
"dialog_title": "Would you like to print?",
"exceed_total_page_count_message": "This print job exceeds the amount of pages left in the session. Print job cancelled.",
"failed_page_count_accounting_message": "Cancelling job since page accounting is enabled.",
"failed_page_count_message": "Unable to determine number of pages.",
"free_page_count_plural_message": "You will have {number} free pages left after this print job.",
"free_page_count_singular_message": "You will have 1 free page left after this print job.",
"other_dialog_title": "Userful Printing",
"page_cost_message": "The cost is {price}.",
"page_count_plural_message": "You are about to print {number} pages.",
"page_count_singular_message": "You are about to print 1 page.",
"print_receipt_checkbox_label": "Print Receipt",
"total_page_count_plural_message": "You will only be able to print {number} pages after this print job.",
"costPerPage": 1,
"textEntryLabel": "Enter text",
"printReceiptCheckboxLabel": "Print Receipt",
"freePageCountSingularMessage": "You will have 1 free page left after this print job.",
"maxEntryChars": 20,
"exceedTotalPageCountMessage": "This print job exceeds the amount of pages left in the session. Print job cancelled.",
"showDialog": true,
"failedPageCountAccountingMessage": "Cancelling job since page accounting is enabled.",
"colorPageCountSingularMessage": "You are about to print 1 color page.",
"totalPageCountPluralMessage": "You will only be able to print {number} pages after this print job.",
"failedPageCountMessage": "Unable to determine number of pages.",
"dialogTitle": "Would you like to print?",
"colorPageCountPluralMessage": "You are about to print {number} color pages.",
"pageCountPluralMessage": "You are about to print {number} pages.",
"global": true,
"pageCountSingularMessage": "You are about to print 1 page.",
"freePageCountPluralMessage": "You will have {number} free pages left after this print job.",
"pageCostMessage": "The cost is {price}.",
"printInvoiceProcedure": "noreceipt",
"freePages": 25,
"pageLimit": 100,
"otherDialogTitle": "Userful Printing",
"minEntryChars": 3,
"autoReleaseJob": true,
"showTextEntry": false
},
{
"isGlobal": false,
"queueName": "printer1",
"print_dialog": false,
"release_jobs": true,
"show_text_entry": false,
"showDialog": false,
"global": false,
"autoReleaseJob": true,
"showTextEntry": false
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
HTTP status code 404
Returned if {id} does not exist.
delete /printprofiles/{queuename}
delete print profiles with specified queue name
URI Parameters
- queuename: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
/serial/{seatID}
Send a serial command to a display defined by seatID
post /serial/{seatID}
Send a serial command to a display defined by seatID
URI Parameters
- seatID: required (string)
Headers
- cookie: required (string)
Put the session id to the cookie to prove that the caller has been authenticated.
Example:
JSESSIONID=12345678901234567890
Body
Media type: application/json
Example:
{
"serialSettings": {
"baudRate": 9600,
"dataBits": 8,
"parity": "none",
"stopBits": 1
},
"transmit":{
"base64_data": "abcdefcg"
}
}
/controlroom
Returns all the configured control room video wall instances. Name in this case referes to the videowall zone names that been assigned to control room sources.
get /controlroom
Returns all the configured control room video wall instances. Name in this case referes to the videowall zone names that been assigned to control room sources.
Gets all of the layouts for a given videowall zone that has been assigned to a Command and Control source.
get /controlroom/{videowallZoneName}/layouts
Gets all of the layouts for a given videowall zone that has been assigned to a Command and Control source.
URI Parameters
- videowallZoneName: required (string)
HTTP status code 200
Body
Media type: application/json
Example:
{
"layouts": [
{
"id": "2ED25B5C-7E45-468C-8BA8-5481605842DB",
"name": "layout-1",
"sources": [
{
"id": "208FF9C2-E112-41FA-B72D-616936A4FBC4",
"name": "Camera1"
},
{
"id": "3E5BF633-3DE0-4FEB-82A2-45CD338213E4",
"name": "Camera2"
}
]
},
{
"id": "80D5AAE2-1311-454E-9FAE-736C326D7F1F",
"name": "layout-2",
"sources": [
{
"id": "208FF9C2-E112-41FA-B72D-616936A4FBC4",
"name": "Camera3"
},
{
"id": "3E5BF633-3DE0-4FEB-82A2-45CD338213E4",
"name": "Camera4"
}
]
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Gets all of the layouts for a given videowall zone. If put in a zone that doens't exist or a zone that isn't assigned to a command and control source, then you will get a response with id as an empty string and name set to "None"
get /controlroom/{videowallZoneName}/currentlayout
Gets all of the layouts for a given videowall zone. If put in a zone that doens't exist or a zone that isn't assigned to a command and control source, then you will get a response with id as an empty string and name set to "None"
URI Parameters
- videowallZoneName: required (string)
HTTP status code 200
Body
Media type: application/json
Example:
{
"id": "80D5AAE2-1311-454E-9FAE-736C326D7F1F",
"name": "layout-1",
"sources": [
{
"id": "208FF9C2-E112-41FA-B72D-616936A4FBC4",
"name": "Camera1"
},
{
"id": "3E5BF633-3DE0-4FEB-82A2-45CD338213E4",
"name": "Camera2"
}
]
}
HTTP status code 401
Returned if the session id is invalid or session time out.
Loads a given layout as specified in the path.
put /controlroom/{videowallZoneName}/load/{layoutName}
Loads a given layout as specified in the path.