/v1/phones/{phone}/keyPOSTPOST /v1/leases/{lease}/key.ghosthand tunnel url --new-token. The unix socket needs no tokenapplication/jsonrequiredcmd+space or shift+tab (modifiers cmd, ctrl, alt,
shift), a named key (enter, esc, backspace, tab, space, up, down,
left, right, pageup, pagedown, end, forwarddelete), home, or a media key
(volumeup, volumedown, playpause). For mute use /mute."home"Min length: 1title and detail are for people.curl -X POST "https://ghosthand.dev/macs/studio/v1/phones/<phone>/key" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "key": "home" }'
{ "code": "device-leased", "title": "iPhone leased by another client", "status": 409, "detail": "Tommy's iPhone is in use by another lease:\n ses_456 (book a table on OpenTable), acquired 2 min ago, last used 10 s ago (tap)\nDecide first: if that task is still active, give up or tell the user the iPhone is busy." }