Skip to content
Hoody.com

Configure how the HTML5 Display client handles concurrent access, view-only mode, and tab lifecycle. These URL parameters control whether multiple users can share the same session, whether connecting clients take over active sessions, whether the client blocks user input for read-only scenarios, and whether rendering is suspended to save power when the browser tab is hidden.

GET /api/v1/display/

Serves the HTML5 Display client web interface. The session-sharing and control parameters listed below control how the client behaves with respect to concurrent connections, input blocking, and background tab handling. The endpoint also accepts additional parameters for window decorations, networking, notifications, keyboard layouts, and debug logging, which are documented separately.

NameInTypeRequiredDescription
sharingquerybooleanNoAllow session sharing. Default: false
stealquerybooleanNoSteal existing sessions. Default: true
readonlyquerybooleanNoEnable read-only/view-only mode. Blocks all keyboard and mouse input from the client. Perfect for dashboards, monitoring, or demo scenarios. Works independently or combines with server readonly setting. Default: false
suspend_inactive_tabquerybooleanNoSuspend client updates when browser tab is inactive. Enables power saving by calling client.suspend() on tab hide and client.resume() on tab show. Recommended to keep enabled for better performance. Default: true
<!DOCTYPE html>
<html>
<head><title>Hoody Display Client</title></head>
<body>
<!-- Display HTML5 client interface -->
</body>
</html>
Terminal window
https://myproject-mycontainer-display-1.myserver.containers.hoody.icu/api/v1/display/?sharing=true&steal=true&readonly=false&suspend_inactive_tab=true
await client.display.accessClient({
sharing: true,
steal: true,
readonly: false,
suspend_inactive_tab: true
});