All pages

API requests

The requests below are promised within v1. "A person" means signed in by an account, not a token. Each request's fields and refusal codes are in the full reference and in qkvm/api_v1.json.

Sign-in and session

RequestWhoDoes
GET /healthznobodyrunning, version, api versions, locked, video
GET /api/v1/sessionnobodywhether the wall is set up, and who is signed in
POST /api/v1/loginnobodysign in with password, name, code, remember
POST /api/v1/logoutviewer, a personsign out this session, the others, or all
POST /api/v1/passwordviewer, a personchange one's own password
POST /api/v1/totp/begin, enable, codes, disableviewer, a persontwo-factor sign-in
POST /api/v1/recovernobodya new password with the recovery key
POST /api/v1/displaynobodyopen a wall screen's link
GET /api/v1/aboutviewerversion and licence

The wall and its machines

RequestWhoDoes
GET /api/v1/wallviewerthe machines this account may see, with can and target; interval, live
GET /api/v1/statusviewerhow each machine is, by id
GET /api/v1/devices/{id}/snapshotviewerthe screen as JPEG or PNG
GET /api/v1/devices/{id}/historyviewerwhat the wall saw of the machine: History
POST /api/v1/devices/{id}/liveviewera one-use pass for the live line, then a WebSocket at the same path
GET /api/v1/actionsoperatorsaved actions, never their text
GET /api/v1/devices/{id}/woloperatorwhat the KVM has saved to wake
POST /api/v1/devices/{id}/actionsoperatordo something (below)
PUT /api/v1/devices/{id}/viewoperator, a personan Intel AMT PC's view: health, stills or live
POST /api/v1/devices/{id}/consoleoperator, a persona one-use, signed-in way into a server's console
.../media, media/unmount, media/upload, media/deleteadmin, a personvirtual media

Administration

RequestWhoDoes
PUT /api/v1/wall/orderadminthe tiles' order
POST /api/v1/devices/removeadminremove several machines, all or none
GET, POST /api/v1/tokens; DELETE /api/v1/tokens/{id}admintokens and display links
POST /api/v1/export, import/read, importadmin, a personexport and import files
GET /api/v1/audit?device=adminthe activity log of one machine
GET /api/v1/devices/{id}/alert-picture/{stamp}adminthe picture a screen alert kept
GET, PUT /api/v1/alerts; alerts/pause; alerts/testadminthe first destination, a pause, a test

Actions

POST /api/v1/devices/{id}/actions with {"action": "..."}. The last column is the word of can it needs.

actionDoesAlso giveNeeds
keysa key combination"keys": "MetaLeft,KeyL", up to eightkeys
ctrl_alt_delthat onekeys
texttypes text, up to 2000 characters"text", "enter": truetext
customa saved action"custom_id", "custom_changed"keys or text
atx_power, atx_power_longpress or hold the power buttonpower
atx_resetpress resetreset
fingerbot_power, fingerbot_power_longa Fingerbot presses or holds powerfingerbot
power_on, power_offswitch on, or ask to shut downpower_state
bios_setupstart into the BIOS setup oncebios_setup
locate_on, locate_offa server's locator lightlocator
rebootrestart the KVM, or a server's controllerreboot
jiggler_on, jiggler_offkeep awake, or allow sleepjiggler
wolWake-on-LAN from the KVM"mac"wol
portshow another input"port": 0ports
resumetake a JetKVM's picture backresume

Add "target" with every action: see The API.

curl -X POST -H "Authorization: Bearer qkvm_..." -H "Content-Type: application/json" -d '{"action": "ctrl_alt_del", "target": "<target from the wall>"}' https://qkvm.example:8787/api/v1/devices/<id>/actions

Full reference