Was this helpful?

Using the Edge management API

All Apigee Edge services can be configured through a set of RESTful HTTP(S) endpoints called the Edge management API. That means you can use scripts to create, configure, and manage API proxies and API products, create and manage apps and app developers, and to perform many other types of operations. These endpoints often take data containing configuration information and require you to pass authentication information, such as username and password, to access them.

Following RESTful principles, you can call HTTP GET, POST, PUT, and DELETE methods on any of the API resources.

Getting started with the Edge management API

To get you started with the Edge management API, you don't need to write any code. Instead, you can use tools such as cURL or the Apigee Console.

For example, the following cURL command executes an HTTP POST request to create an API product:

$ curl -H "Content-Type:application/json" -X POST -d
'{
  "approvalType": "auto",
  "displayName": "Free API Product",
  "name": "weather_free",
  "proxies": [ "weatherapi" ],
  "environments": [ "test" ]
}'
https://enterprise.apigee.com/v1/o/my_org/apiproducts -u myname:mypass

Every page of the API Reference contains an example cURL command that lets you try out the API.

Along with cURL, you can use the Apigee Console. The console provides a GUI for exploring an API's resources and executing its methods. The Console is prepolulated with information about the Edge management APIs that enables you to make a request to an API with just a few mouse clicks. The Console also contains links to the API Reference so that you can find out more information about each API as you try it out.

For more information about using the Edge management API, including information on using cURL, see Using the Apigee Edge development environment.

Background information

While you don't need to be an expert in any of these topics to use the Edge management API, it's useful to have some familiarity with the following:

Optionally:

  • JavaScript and Python scripting languages
  • Java programming language

You can also create API proxies in the Edge management UI. For instructions, Build a simple API proxy

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.