Create a browser pool
Changed onCreate a new browser pool with the specified configuration and size. Pooled browsers load their profile read-only: any save_changes on the profile is ignored (not rejected), so pooled browsers never persist changes back to the profile.
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/browser_pools
- AuthHTTP bearer
Request body
Example request
{
"kiosk_mode": true,
"memory": "8GiB",
"name": "my-pool",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"refresh_on_profile_update": true,
"size": 10,
"start_url": "https://example.com",
"stealth": true,
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
}
}Response
Browser pool created successfully
Example response
{
"acquired_count": 15,
"available_count": 85,
"browser_pool_config": {
"kiosk_mode": true,
"memory": "8GiB",
"name": "my-pool",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"refresh_on_profile_update": true,
"size": 10,
"start_url": "https://example.com",
"stealth": true,
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
}
},
"id": "iv25ujqf37x3j07dwoffegqr",
"name": "my-pool",
"profile_id": "iv25ujqf37x3j07dwoffegqr"
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/// - info
added the new optional request property
// - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the required property
to the response with the status
- info