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.

Request Params

KeyDatatypeRequiredDescription
versionstring(Optional) Unique identifier for a specific EdgeWorker version.
activationIdstring(Optional) Filters results to a specific activation.
networkstring(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.
pinnedOnlystring(Optional) When enabled, limits results to show only currently or previously pinned revisions.
currentlyPinnedstring(Optional) When enabled, limits results to show only revisions that are currently pinned.
accountSwitchKeystring(Optional) 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.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"revisions":[{"accountId":"A-CCT5678","activationId":1,"checksum":"db3697e7eb03c8fb4822fd763b840e1b915693ab03e02a583fecfcd55d07857d","createdTime":"2023-08-10T15:32:22Z","edgeWorkerId":42,"lastModifiedTime":"2023-08-10T15:41:20Z","network":"PRODUCTION","revisionActivationStatus":"COMPLETE","revisionId":"1-2","version":"0.7"},{"accountId":"A-CCT7890","activationId":1,"checksum":"a89dfc162fa3d81d36f40805620cb21be6de5d869374e71feda1afff17dae2a7","createdTime":"2023-08-10T15:22:45Z","edgeWorkerId":42,"lastModifiedTime":"2023-08-10T15:27:01Z","network":"PRODUCTION","revisionActivationStatus":"COMPLETE","revisionId":"1-1","version":"0.7"}]}