Logo
Akamai APIs API Documentation

List revisions

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

Beta View the list of revisions for an existing EdgeWorker based on ID. You can limit the results to a specific version or activation. To learn more about Flexible Composition, refer to the EdgeWorkers guide.

 

Body PARAM

Key Datatype Required Description 
version
string (Optional) Unique identifier for a specific EdgeWorker version.
activationId
string (Optional) Filters results to a specific activation.
network
string (Optional) __Enum__ The network on which to use this authentication token, either `STAGING` or `PRODUCTION`. If not specified, the token is created for the network where the last property version activation occurred.
pinnedOnly
string (Optional) When enabled, limits results to show only currently or previously pinned revisions.
currentlyPinned
string (Optional) When enabled, limits results to show only revisions that are currently pinned.
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Descripti
Curl
curl -X GET 'https://host/edgeworkers/v1/ids/:edgeWorkerId/revisions?version=&activationId=&network=&pinnedOnly=&currentlyPinned=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS