Browser Filesystem
Write or create a file
put/browsers/{id_or_name}/fs/write_file
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/browsers/{id_or_name}/fs/write_file
- AuthHTTP bearer
Path parameters
id_or_namestring required
Browser session ID or name
Query parameters
pathstring required
Destination absolute file path.
modestring
Optional file mode (octal string, e.g. 644). Defaults to 644.
Request body application/octet-stream
string binary required
Response
File written successfully
Changes
No recorded changes to this operation across all 123 revisions of this API.