Nowadays, every business enterprise thinks about building their Application Programming Interface (API) protocol to have a better interaction between multiple systems. With the help Apigee tool, it's very easy to create, manage and create APIs. In today's tech market API interfaces are creating a lot of demand over web service and mobile applications. This Apigee Tutorial helps you to master the Apigee tool along with its advanced features.
Apigee is an API management and predictive analytics software tool developed by Sonoa Corporation as Sonoa systems in 2004. Now Apigee is maintained by Google corporations to help them in building cloud-based interfaces. This Apigee helps companies to secure, design, and scale their application programming Interfaces. I will explain further Apigee components in detail.
Apigee Edge is a platform for managing and developing application programming interfaces (APIs). This platform uses the proxy layer and edge to abstract the protocol and also helps for your backend services APIs. Apigee Edge platform offers security, rate limiting, data quotas, and analytics.
The above diagram gives the quick view of Apigee edge, now most of the companies use this Apigee Edge as HTTP for their backend services used in their web services or mobile service development applications. This tool makes it easy for application developers to consume the services and enables them to change the backend service implementations without affecting already existing APIs. And also supports the developers to take advantage of the data analytics, monetization process, portal development, and also other advanced features in Apigee Edge.
Want to get certified in Apigee. Learn from our experts and do excel in your career with hkr's Apigee Online Course
Apigee is an important source for developers to utilize API skills and development tools. There are lots of useful advantages of using these Apigee interfaces over other interface protocols.
The following are the basic terminologies that are used by the app developers in their day-to-day development services. Let me explain them one-by-one,
API -> An application programming interface- a set of protocols, rules, or definitions. This API makes it easier to consume the application capabilities or data from another application. This provides stability and simplifies the entry points to application logic or data. APIs enables developers to easily access and reuse the already existing application developed by other developers. Apigee provides a lot of useful information about API and data consumption.
API proxy -> this is kind of a façade available on Edge for APIs, HTTP services, and application developments. An API is a set of configuration files, policies, and codes provided by Apigee edge. Theses API proxies are generated and configured using the Apigee Edge management user interface applications or they can also be configured locally in any text editor or IDE. API proxy mainly used as a façade backend service or HTTP services that are developed for mobile applications or web service applications.
API base path and resources-> An API are made up of a 'base path' and a set of 'API resources'. Each API proxy finds a default base path point, and optionally available multiple API resource paths. Simply you can consider API as a set of multiple URLs and all of these URLs share a common base path.
API product-> it is nothing but a collection of URLs with combined quota or any service plan, which is published by the developer at the design time. API products can be used as an API package for monetization.
API Package-> is a collection of API products that are represented as a bundle and associated with the rate of plans described in the Monetization process.
App-> this is an abbreviation of 'Application'. This refers to mobile applications that consume APIs. These apps are developed by developers using a variety of programming languages and platforms.
Environment-> this is a runtime context where you can execute the API proxies. Each API's must be added to this environment before any proxy is exposed over the system network.
Organization-> this is a container that holds the apigee objects like details of Apigee Edge account, API proxies used in Apigee, an application interface products, application interface Apigee packages, apps development, and developers.
Policy-> A policy is nothing but a set of executed atomics, the reusable unit of logic data, and proxy processing flow.
API resource path-> a resource path is a uniform resource identifier (URI) that is used to identify the network path.
Versions-> the version of the developer-facing API interface.
Revision-> a numbered, version-controlled package of policies and configurations are used in API proxy. This revision term comes from the various Apigee software upgrades.
If you are an API developer, you develop it for the consumption of client apps. These APIs are used to create, configure, and monitor API products, API proxy, and also services that enable the creation of HTTP server requests. There are two types of development tools available in Apigee Edge they are,
1) Use the UI
2) Use the Apigee API
1) Use the UI:
This is browser-based tools, developer can use this tool to create, configure, and manage all kinds of API products, API proxies, and HTTP services. The following table describes how to access this UI;
2) Use the Apigee API:
Developers can use this Apigee edge API’s to manage all the API resources in Edge. This API also provides the access request to low-level capabilities that are not used by the Apigee UI.
The following table describes how to use this Apigee API;
This API also stores the data configuration information and also authentication information (for example; username and password). The following API methods are used to access any kind of request, HTTP GET, POST, PUT and DELETE methods.
There are two types of access available under this Apigee Edge API:
a) Authenticating Access:
Before calling any APIs you should authenticate yourself to the respective API. The following are simple ways:
b) Understanding the Apigee API base path:
The following are the path required to access the request;
Every company has its own unique software development life cycle (SDLC). This lifecycle has to synchronize and alignment of all API proxies' deployment that includes the same processes that the developer uses today that is developing, testing, and deployment of any applications.
All the APIs provide the tools and other RESTFUL API's they help you to integrate API proxy deployment and management of an organization. RESTFUL APIs are commonly used to write code, scripting, deployment of any API proxies, and also migrate these proxies from one environment to another environment.
Three stages come under API development life cycle,
Let’s discuss one by one,
Creation API stage: In this stage of the API lifecycle, developers will involve in the creation of their API for their applications. This consists of 4 components;
Controlling API stage: In this stage of the API lifecycle, once the creation of an API job is done, the developer should control them to protect or authorization purposes.
4 factors come under this stage,
Consumption API stage: In this stage of the API lifecycle, the developer has to configure and also needs to consume data applications. This can be done by the following components;
Explore Apigee Sample Resumes! Download & Edit, Get Noticed by Top Employers!
Here are the few major points on characteristics of API Proxies, let me explain the main points,
Here developer implements the APIs to create API proxies with the use of API logics as a sequence of steps that executes in response to the requests from the client's code. Developers can expose the API proxy by defining the endpoint that contains the URL, resource paths, and HTTP requests, and so on.
While developing any application, data that we used are flows through the application development with the help of Condition logic. In Apigee Edge, the processes are made up of data flows. Flows are nothing but a sequence of stages or steps that are used in the making of an API proxy's processing path.
Like other programming languages, the API proxies also have the facility to execute the code conditionally. Conditions are consists of API proxy state and accessible flow variables.
Most of the logic that is used in API proxy is considered as Policies. A policy is an Apigee Edge component that encapsulated logic for functional areas such as traffic management, security management.
When you created an API proxy that contains logic this logic will be used for multiple places at the time of code execution. Developers can collect other API proxies from multiple places.
Apigee Edge contains a trace tool mainly used to examine the API proxy execution flow. This tool also supports debugging and testing of proxy execution codes.
Developers can customize the API client errors just by configuring the fault handler in Apigee Edge. You will get notified by messages when the system finds any fault in API proxy.
Now all the interactions in the Apigee Edge managed by a newly developed Edge user interface (UI). Few major enhancements of this Edge UI are as follows;
Now it's time to create your first ever Apigee Edge account in your organization. Apigee Edge offers free account creation for a limited time.
To create a free 60-days trial Apigee edge account:
1) Go to the link https://login.apigee.com/sign_up.
2) Open the link-> enters the required information.
3) Click the create account button (or sign up).
4) The user account information will send to your email account-> then go to your mail inbox-> click the account Verification.
After that just click the email link, then the browser tab is opened to the login page that is, https://login.apigee.com/login.
5) Now log in with the email and password that you used to sign up.
Apigee activates your account and just log in to the Apigee Edge UI.
Point to be noted:
a) In a few cases, this may take a few minutes for the activation to complete and you will see the progress dialog.
Once your account is activated, the following message appears:
6) Now click the get started to access the Apigee Edge UI.
The following methods describe how to manage your Apigee Edge account,
To sign in to your Apigee Edge account follow the below steps;
a) First, navigate to the Edge UI:
b) Now enter your Apigee Edge login details (Apigee username and password) -> click the Sign in button.
1) Sign out of your Apigee Edge account.
2) Click the Reset Password -> on the sign-in page-> then it displays the Reset your password page.
3) Enter your Email Address.
4) Click the Send Reset password Link-> that is sent to your email address.
5) Then click the Reset password link -> follow the prompts to reset your password.
6) Now sign in using your new password.
If you want to build your career as a Apigee certified professional, then visit Apigee Community.
Here I am going to explain the primary advantages of using Apigee Edge in your organization;
Caching is available at the resource or API level.
No soft limits on the resources
Offers individual endpoints per service
Security or Access control per API resources
In this blog, you will learn basic concepts, terminologies, and also the creation of an Apigee Account in your organization. Apigee is a cloud development platform where you can manage and develop your APIs. This platform provides scalability, controlling, monetizing, and deploying the API interfaces using API proxies, logics, and resources. Apigee Edge tool is widely used in building web services and mobile application development. I hope this blog may help the cloud developers and cloud community forums to gain in-depth knowledge of this Apigee Edge platform.
5th April | 08:00 AM