Recipes

Initialize EdgeKV

Before you can start using EdgeKV, you need to initialize your EdgeKV database.

In this Recipe
  1. Set up authorization
  2. Call the API
  3. Review the response
Open Recipe
  • Initialize EdgeKV

    Before you can start using EdgeKV, you need to initialize your EdgeKV database.

    3 steps
    Open Recipe
  • Get the EdgeKV initialization status

    Check EdgeKV's initialization status. You can't use your EdgeKV database until the initialization has completed successfully.

    3 steps
    Open Recipe
  • List namespaces

    List the EdgeKV namespaces available in staging or production network.

    6 steps
    Open Recipe
  • Create a namespace

    Create a namespace.

    9 steps
    Open Recipe
  • Get namespace details

    Get geolocation and retention details for a namespace.

    6 steps
    Open Recipe
  • List items within a group

    List item keys in a group.

    8 steps
    Open Recipe
  • Read an item

    Read the associated value for an itemId.

    8 steps
    Open Recipe
  • Write an item

    Create or update an item in EdgeKV. You need to specify the namespace and group this item belongs to. The target namespace must already exist, while the group can automatically be created for you if it doesn't yet exist.

    8 steps
    Open Recipe
  • Delete an item

    Delete an item from EdgeKV.

    8 steps
    Open Recipe
  • List access tokens

    List EdgeKV access tokens that you have permission to view from your account.

    4 steps
    Open Recipe
  • Create an access token

    Generate an access token to allow EdgeWorkers code to access a namespace.

    7 steps
    Open Recipe
  • Download an access token

    Get details of an access token, including its value.

    5 steps
    Open Recipe
  • Revoke an access token

    Revoke an access token. To learn more about access tokens, refer to the EdgeKV guide.

    5 steps
    Open Recipe
  • Update namespace details

    Update the name and the retention period of an existing namespace. To change the geoLocation you need to create a new namespace with the new geoLocation. Note that the geolocation can only changed from the default of US on the production network.

    8 steps
    Open Recipe
  • List permission groups

    View a list of access groups and the associated permission capabilities, for example: create and view an EdgeKV namespace.

    4 steps
    Open Recipe
  • Get a permission group

    View details on the capabilities enabled within a specified access group.

    6 steps
    Open Recipe
  • Reauthorize a namespace

    Change the access group used to authorize an existing namespace.

    5 steps
    Open Recipe
  • List groups within a namespace

    View a list of group identifiers created when writing items to a namespace.

    6 steps
    Open Recipe
  • Download group data

    Download all content stored within the group.

    9 steps
    Open Recipe
  • Download namespace data

    Download all content stored within the namespace.

    8 steps
    Open Recipe
  • Upload namespace data

    Upload CSV-formatted data into a namespace.

    9 steps
    Open Recipe
  • List upload jobs

    View a list of all upload jobs for a namespace.

    6 steps
    Open Recipe
  • Get namespace upload job details

    View details about a specific namespace upload job.

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