{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akamai: API Endpoint Definition Access tokens Revisions API",
    "version": "2"
  },
  "items": [
    {
      "info": {
        "name": "Revisions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Akamai List Revisions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "version",
                "value": "{{version}}",
                "type": "query",
                "description": "Unique identifier for a specific EdgeWorker version."
              },
              {
                "name": "activationId",
                "value": "{{activationId}}",
                "type": "query",
                "description": "Filters results to a specific activation."
              },
              {
                "name": "network",
                "value": "{{network}}",
                "type": "query",
                "description": "__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."
              },
              {
                "name": "pinnedOnly",
                "value": "{{pinnedOnly}}",
                "type": "query",
                "description": "When enabled, limits results to show only currently or previously pinned revisions."
              },
              {
                "name": "currentlyPinned",
                "value": "{{currentlyPinned}}",
                "type": "query",
                "description": "When enabled, limits results to show only revisions that are currently pinned."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ]
          },
          "docs": "__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](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai List Revision Activations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/activations",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "version",
                "value": "{{version}}",
                "type": "query",
                "description": "Unique identifier for a specific EdgeWorker version."
              },
              {
                "name": "activationId",
                "value": "{{activationId}}",
                "type": "query",
                "description": "Filters results to a specific activation."
              },
              {
                "name": "network",
                "value": "{{network}}",
                "type": "query",
                "description": "__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."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ]
          },
          "docs": "__Beta__ List activations for an existing EdgeWorker revision based on the EdgeWorker's ID. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Activate a Fallback Revision",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/activations",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "__Beta__ Reactivate a previously active revision on Akamai's staging or production network. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Get a Revision",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/:revisionId",
            "params": [
              {
                "name": "revisionId",
                "value": "{{revisionId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorkers revision."
              },
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ]
          },
          "docs": "__Beta__ View details for a specific revision. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Get a Revision BOM",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/:revisionId/bom",
            "params": [
              {
                "name": "revisionId",
                "value": "{{revisionId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorkers revision."
              },
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "includeActiveVersions",
                "value": "{{includeActiveVersions}}",
                "type": "query",
                "description": "When enabled, limits results to show only active versions."
              },
              {
                "name": "includePinnedRevisions",
                "value": "{{includePinnedRevisions}}",
                "type": "query",
                "description": "When enabled, limits results to show only the pinned revisions when the BOM was created."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ]
          },
          "docs": "__Beta__ View the Bill of Materials for a specific revision. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Compare Revisions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/:revisionId/compare",
            "params": [
              {
                "name": "revisionId",
                "value": "{{revisionId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorkers revision."
              },
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "__Beta__ View dependency differences between two revisions of the same EdgeWorker activation. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Download the Combined Code Bundle",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/:revisionId/content",
            "params": [
              {
                "name": "revisionId",
                "value": "{{revisionId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorkers revision."
              },
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ]
          },
          "docs": "__Beta__ Download the combined code bundle that contains the code and the dependencies that the EdgeWorker executes. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Pin an Active Revision",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/:revisionId/pin",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "revisionId",
                "value": "{{revisionId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorkers revision."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "__Beta__ Disable dynamic activation for an EdgeWorker revision on Akamai's staging or production network. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        },
        {
          "info": {
            "name": "Akamai Unpin an Active Revision",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/revisions/:revisionId/unpin",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "revisionId",
                "value": "{{revisionId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorkers revision."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "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)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "__Beta__ Enable dynamic activation for an EdgeWorker revision on Akamai's staging or production network. To learn more about Flexible composition refer to the [EdgeWorkers guide](https://techdocs.akamai.com/edgeworkers/docs/flexible-composition)."
        }
      ]
    }
  ],
  "bundled": true
}