Upload a browser extension

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

POST/extensions

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

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response

application/json

Extension uploaded successfully

A browser extension uploaded to Kernel.

curl -X POST "https://example.com/extensions" \  -F file="string"
{  "id": "string",  "name": "string",  "created_at": "2019-08-24T14:15:22Z",  "size_bytes": 0,  "checksum": "stringstringstringstringstringstringstringstringstringstringstri",  "last_used_at": "2019-08-24T14:15:22Z"}