machines
Connect to a machine port (PUT).
Changed onForward an HTTP request (any method, body included, up to 10 MiB) or a WebSocket upgrade to a published guest port. Append a path after the port to reach a subpath: /v1/machines/{id}/connect/{port}/{rest}.
put/v1/machines/{id}/connect/{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
Machine id
portinteger required
Guest port to bridge to
Request body */*
string required
Response
The guest service's response, status and body passed through
Changes
- info
endpoint added
- info