machines
Upload a file.
Changed onWrites the request body to the given path inside the machine. Requires the machine:files scope.
put/v1/machines/{id}/files/{path}
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
pathstring required
Guest file path
Request body application/octet-stream
integer[] required
Response
File uploaded
Changes
- info
endpoint added
- info