Extensions

Upload a browser extension

Changed on

Upload a zip file containing an unpacked browser extension. Optionally provide a unique name for later reference.

post/extensions

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/extensions
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required

ZIP file containing the browser extension.

namestring

Optional unique name within the project to reference this extension.

Example request

{
  "file": "@path/to/extension.zip"
}

Response

Extension uploaded successfully

checksumstring nullable

SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded extension archive bytes. This is not a normalized checksum of the extension contents; archive metadata, file ordering, and compression can change the checksum for otherwise identical contents. Omitted for legacy rows and server-repackaged Chrome Web Store extensions.

created_atstring date-time required

Timestamp when the extension was created

idstring required

Unique identifier for the extension

last_used_atstring date-time nullable

Timestamp when the extension was last used

namestring nullable

Optional, easier-to-reference name for the extension. Must be unique within the project.

size_bytesinteger required

Size of the extension archive in bytes

Changes