Upload and enable a browser extension for a browser session

View as Markdown
Upload one browser extension archive into the persistent browser workspace of an existing browser session. The daemon unpacks the archive into a reserved extension directory, updates the enabled extension manifest, and can restart the browser process to apply it.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired
Session ID

Request

Multipart form with bundle and optional restart_browser fields

bundlefileRequired
Extension archive contents.
restart_browserbooleanOptional
Restart the browser process after the extension is activated.

Response

Browser extension uploaded
extension_idstring
file_countinteger>=0
pathstring
restartedboolean

Errors

400
Bad Request Error
404
Not Found Error