Logo
Akamai APIs API Documentation

EdgeWorkers API-Versions

Number of APIs: 5


1. Create a new version

POST https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/versions

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.



2. List versions

GET https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/versions

View a list of EdgeWorker versions.



3. Get version details

GET https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/versions/:version

View details for a specific version.



4. Delete version

DELETE https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/versions/:version

Delete a specific version.



5. Download an EdgeWorkers code bundle

GET https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/versions/:version/content

Download the bundle containing the code the EdgeWorker executes.



ENDPOINTS