Recipes

Create a new EdgeWorker ID

Register a new EdgeWorker within a particular group.

In this Recipe
  1. Set up authentication
  2. Pick a group
  3. Pick a name
Open Recipe
  • Create a new EdgeWorker ID

    Register a new EdgeWorker within a particular group.

    7 steps
    Open Recipe
  • Get a permission group

    View details on the capabilities enabled within a specified group, for example: activate a version or fetch an EdgeWorker ID.

    6 steps
    Open Recipe
  • List permission groups

    View a list of groups and the associated permission capabilities, for example: activate a version or fetch an EdgeWorker ID.

    6 steps
    Open Recipe
  • List contract IDs

    View the list of contract IDs that you can use to list resource tiers.

    4 steps
    Open Recipe
  • List resource tiers

    View the list of available resource tiers for a specific contract ID. The resource tier defines the resource consumption limits for an EdgeWorker ID.

    6 steps
    Open Recipe
  • Display pages based on location

    This recipe implements an EdgeWorker function to redirect website visitors to relevant pages based on the location of the request.

    9 steps
    Open Recipe
  • Update an EdgeWorker ID

    Update the name or groupId of an existing EdgeWorker.

    6 steps
    Open Recipe
  • Get an EdgeWorker ID

    View details for a specific EdgeWorker.

    5 steps
    Open Recipe
  • Clone an EdgeWorker ID

    Clone an EdgeWorker ID to change the resource tier.

    7 steps
    Open Recipe
  • List EdgeWorker IDs

    View the list of EdgeWorkers in the identified group.

    6 steps
    Open Recipe
  • Get the resource tier

    View the details of the resource tier assigned to the EdgeWorker ID.

    4 steps
    Open Recipe
  • Validate an EdgeWorkers code bundle

    Return a list of errors and warnings containing details on how to fix your code bundle.

    6 steps
    Open Recipe
  • List versions

    View a list of EdgeWorker versions.

    5 steps
    Open Recipe
  • Get version details

    View details for a specific version.

    6 steps
    Open Recipe
  • Download an EdgeWorker bundle

    Download the bundle containing the code the EdgeWorker executes.

    7 steps
    Open Recipe
  • List activations

    View the list of activations for an existing EdgeWorker based on ID. You can choose to specify the version in the request.

    6 steps
    Open Recipe
  • Activate an EdgeWorker version

    Activate an existing EdgeWorker version on the Akamai network, either staging or production.

    7 steps
    Open Recipe
  • Get an activation

    View details for a specific activation.

    6 steps
    Open Recipe
  • List deactivations

    View the list of deactivations for an existing EdgeWorker.

    6 steps
    Open Recipe
  • Deactivate an EdgeWorker version

    Deactivate an existing EdgeWorker version on the Akamai network, either staging or production.

    7 steps
    Open Recipe
  • Get a deactivation

    View details for a specific deactivation.

    6 steps
    Open Recipe
  • List reports

    View a list of available reports.

    4 steps
    Open Recipe
  • Get an EdgeWorker report

    View details for a specific EdgeWorker.

    9 steps
    Open Recipe
  • Create a secure token

    Generate a random secret key. You can use this key to create an EdgeWorkers authentication token to enable enhanced debug headers for EdgeWorkers.

    8 steps
    Open Recipe
  • Create a new version

    Create a new version for an EdgeWorker ID.

    Note: You cannot use cURL to create a new version of an EdgeWorker ID. cURL does not support the multi-part data included in the POST request.

    8 steps
    Open Recipe
  • Delete an EdgeWorker version

    Delete an EdgeWorker version permanently from an EdgeWorker ID.

    6 steps
    Open Recipe
  • Delete an EdgeWorker ID

    Delete an existing EdgeWorker ID from your account permanently.

    5 steps
    Open Recipe
  • List Properties

    View the active and inactive properties using an existing EdgeWorker ID.

    6 steps
    Open Recipe
  • Boost search autocomplete performance

    Accelerate autocomplete at the edge by suggesting relevant search terms while a visitor types in a search box.

    4 steps
    Open Recipe
  • Add geo and custom data as a cookie

    This recipe implements an EdgeWorker to add geolocation data to a cookie in the HTTP response. The cookie returns location information about the client where the request originates, including a lookup from custom data.

    8 steps
    Open Recipe
  • Cancel an activation

    Cancel a pending activation.

    6 steps
    Open Recipe
Original text
Rate this translation
Your feedback will be used to help improve Google Translate