Create a new version
Create a new version of an EdgeWorker. In order to run this operation you need to build an EdgeWorkers code bundle and save it in GZIP format. You need to provide the GZIP binary file in the request body, with a Content-Type of application/gzip.
Path parameters
edgeWorkerId
Query parameters
accountSwitchKey
For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.
Request
This endpoint expects binary data of type application/gzip.
Response
Provides details for an EdgeWorker version.
accountId
Identifier for the account where the EdgeWorker was created.
checksum
A SHA-256 hash digest of the tarball.
createdBy
Username of the person who created the EdgeWorker version.
createdTime
ISO 8601 timestamp indicating when the EdgeWorker version was created.
edgeWorkerId
Unique identifier of the EdgeWorker.
version
Unique identifier of the EdgeWorker version.
sequenceNumber
An incrementing number indicating the upload order of the EdgeWorker versions.