-
Notifications
You must be signed in to change notification settings - Fork 0
REST API
Orestis Tsakiridis edited this page Oct 30, 2025
·
6 revisions
Homes endpoint manages home accounts. As a bare minimum, a home consists of a name (compatible with POSIX username syntax) an index and an ssh public key. name and public_key are given by the user. index is determined by the available home slots in the system and is assigned automatically.
POST /api/homes/
{"name":"alice", "public_key":"sshpublickeytext"}
Response
{"index":0, "ssh_username": "home01_alice"}
PATCH /api/homes/1
{"public_key":"newpublickey"}
Response 204 NO CONTENT
GET /api/homes/0
Response
{"index":0, "ssh_username": "home01_alice"}
Tunnel mappings represent traffic forwarding from a domain name to a listening end of the tunnel residing inside the cloudserver. A set of subsequent
[TBD]
PUT - reload settings
DELETE - stop instance if possible
GET - get one-liner status