Added to, never taken from
Within v1, requests, fields, states, codes and words are added. None is taken away or given another meaning.
Feature: the API
Everything the page does, it does through /api/v1/, and so can a script, a monitoring system or a program of your own: the Desktop App is one. What v1 promises is written down, listed for programs, and checked against a running wall by a tool.
Within v1, requests, fields, states, codes and words are added. None is taken away or given another meaning.
A change that would break a program gets /api/v2/ beside v1, which is served on for at least twelve months and two minor releases, with Deprecation and Sunset headers.
qkvm/api_v1.json, in every install: each promised request, who may ask it, what it answers and since which version. qKVM's tests fail where code and list differ.
Every refusal is a code for a program and a sentence for a person. Where a command went out and no answer came, it may have been done: no blind retry of a power button.
qkvm.conformance reads only: it sends nothing but GET, presses nothing, and opens no live line and no console. Run it in a client's release tests against every wall version the client is to work with.
python -P -m qkvm.conformance https://wall:8787 --token-file token.txtEach machine says what it can be asked in words: keys, power, media, live, locator and more. A client never guesses from the kind of device.
One file of states, codes and labels, served by every wall, so no two programs call one thing by two names.
A pass, then a WebSocket: H.264 or JPEG down, keys and the mouse up, every message and the 16-byte frame header written down.
An action or a live pass can carry the machine's target. Where the tile was pointed at another machine meanwhile, nothing is sent.
A bearer token, viewer or operator, held to machines and groups, for 1 to 3650 days or until taken back.
For each machine: a summary with its share online, its states, power events, sensor samples, and averaged series.
GET /metrics behind a token of its own: machines by state, and for each whether it answers, its picture, when last seen and how warm it is.
GET /healthz with no sign-in: the version, the API versions it speaks, and whether it waits for a sign-in after a restart.