POST
/
browsers
/
{id}
/
fs
/
upload_zip
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

await client.browsers.fs.uploadZip('id', { dest_path: '/J!', zip_file: fs.createReadStream('path/to/file') });
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Browser session ID

Body

multipart/form-data

Response

201

Zip uploaded and extracted successfully