machines
Open a TCP tunnel to a machine port.
Changed onUpgrades to a WebSocket carrying raw TCP to a port inside the machine. Requires the machine:exec scope.
get/v1/machines/{id}/tunnel/{port}
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Tenant-owned running machine id
portinteger required
Published guest TCP port
Changes
- info
endpoint added
- info