How to use ZEDEDA API

The ZEDEDA API is a powerful way to interact with the ZEDEDA platform. The following procedures explain how to get started with it.

Procedures

Get your session token

  1. Go to the ZEDCLOUD GUI.
  2. Click on your user profile icon.
  3. Hover over your username and then click on User Details.
  4. In the Session Information section, click on Click here to request the session token.
  5. Copy your token.

Authenticate

  1. Go to the Swagger webpage: zedcontrol.zededa.net/api/v1/docs/

    Note that you can test directly against your own cluster using the following syntax: 

    https://zedcontrol.{YOUR_CLUSTER_NAME}.zededa.net/api/v1/docs/
  2. Click on Authorize.
  3. Enter your session token in the Value field. Make sure to type bearer:
    bearer <YOUR_SESSION_TOKEN>
  4. Click on Authorize.
  5. Click on Close.

Try one of our APIs

  1. Select the desired API.
  2. Click on Try it out.
  3. Click on Execute.
Was this article helpful?
2 out of 2 found this helpful