Create a browser extension from an upload or store URL

View as Markdown
Create a browser extension from an uploaded package or Chrome Web Store URL.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Headers

BCTRL-Subaccount-IdstringOptional
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.

Request

This endpoint expects an object.
urlstringRequiredformat: "uri"
namestringOptional

Response

Created
createdAtdatetime
RFC 3339 timestamp with a UTC offset.
format"crx"
idstring5-64 characters
Unique browser extension identifier generated by BCTRL.
namestring1-200 characters

Customer-facing resource name. 1–200 characters.

profileCountinteger>=0

Non-negative whole-number count.

updatedAtdatetime
RFC 3339 timestamp with a UTC offset.
versionstring
contentHashstringOptional

SHA-256 digest encoded as 64 lowercase hexadecimal characters.

sizeBytesintegerOptional>=0

Non-negative number of bytes.

sourceUrlstringOptionalformat: "uri"
subaccountIdstringOptional1-64 characters
Opaque identifier for a BCTRL subaccount.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error