List activations
GET https://{{host}}/edgeworkers/v1/ids/:edgeWorkerId/activations
View the list of activations for an existing EdgeWorker based on ID. You can choose to specify the version in the request. The response filters the list of activations down by version number.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
version | string | (Optional) Unique identifier for a specific EdgeWorker version. | |
activeOnNetwork | string | (Optional) When enabled, limits results to show only currently activate versions. Pair this with a network to get the version that's currently active on a specific network. Otherwise the response may include up to two versions. | |
network | string | (Optional) Enum When enabled, limits results to show only versions activated on a specific network, either STAGING or PRODUCTION . Pair this with activeOnNetwork=true to get the version that's currently active on the specified network. | |
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
{"activations":[{"accountId":"A-CCT5678","activationId":3,"createdBy":"adevi","createdTime":"2020-07-09T09:03:28Z","edgeWorkerId":42,"lastModifiedTime":"2020-07-09T09:04:42Z","network":"PRODUCTION","note":"Version 2 fixes an issue detected in production.","status":"PENDING","version":"2"},{"accountId":"A-CCT5678","activationId":1,"createdBy":"jsmith","createdTime":"2020-07-09T08:13:54Z","edgeWorkerId":42,"lastModifiedTime":"2020-07-09T08:35:02Z","network":"STAGING","status":"IN_PROGRESS","version":"1"},{"accountId":"A-CCT9012","activationId":2,"createdBy":"jperez","createdTime":"2020-07-10T14:23:42Z","edgeWorkerId":42,"lastModifiedTime":"2020-07-10T14:53:25Z","network":"PRODUCTION","status":"COMPLETE","version":"2"}]}