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
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. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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"}]}