Open a host terminal WebSocket
GET
/info/terminal
const url = 'https://sylve.lan:8181/api/info/terminal?auth=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://sylve.lan:8181/api/info/terminal?auth=example'Upgrade the connection to an authenticated host terminal WebSocket
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”auth
required
string
Hex-encoded WebSocket authentication payload
Responses
Section titled “Responses”Switching Protocols
string
WebSocket upgrade failed
string
Unauthorized
object
key
additional properties
string